db/specs/models/biz/company.v
2025-05-09 12:42:42 +03:00

44 lines
921 B
V

module biz
import base
import freeflowuniverse.herolib.data.ourtime
// CompanyStatus represents the status of a company
pub enum CompanyStatus {
active
inactive
suspended
}
// BusinessType represents the type of a business
pub enum BusinessType {
coop
single
twin
starter
global
}
// Company represents a company registered in the Freezone
pub struct Company {
base.Base // Base struct for common fields
pub mut:
id u32
name string
registration_number string
incorporation_date ourtime.OurTime
fiscal_year_end string
email string
phone string
website string
address string
business_type BusinessType
industry string
description string
status CompanyStatus
created_at ourtime.OurTime
updated_at ourtime.OurTime
shareholders []Shareholder
}