| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- package customer
- import (
- "time"
- )
- type Customer struct {
- Id int `xorm:"not null pk autoincr INT(10)"`
- CustomerName string `xorm:"VARCHAR(50)"` //客户单位
- CustomerCode string `xorm:"VARCHAR(50)"` //客户编码
- Person string `xorm:"VARCHAR(50)"` //联系人
- AuthCode string `xorm:"VARCHAR(50)"` //授权码
- Telephone string `xorm:"VARCHAR(50)"` //电话
- Mailbox string `xorm:"VARCHAR(50)"` //邮箱
- Address string `xorm:"VARCHAR(50)"` //地址
- Established time.Time `xorm:"DATE"` //成立时间
- EmployeesNum int `xorm:"INT(50)"` //员工人数
- EnterpriseType string `xorm:"VARCHAR(50)"` //企业类型
- ZipCode string `xorm:"VARCHAR(50)"` //邮编
- FaxTelephone string `xorm:"VARCHAR(50)"` //传真电话
- Website string `xorm:"VARCHAR(100)"` //网站地址
- Representative string `xorm:"VARCHAR(50)"` //法定代表人
- MainBusiness string `xorm:"VARCHAR(50)"` //主营业务
- ViceBusiness string `xorm:"VARCHAR(50)"` //兼营业务
- CreateUserId int `xorm:"INT(10)"`
- CreateBy string `xorm:"VARCHAR(255)"`
- CreateOn time.Time `xorm:"DATETIME created"`
- ModifiedUserId int `xorm:"INT(10)"`
- ModifiedBy string `xorm:"VARCHAR(255)"`
- ModifiedOn time.Time `xorm:"DATETIME updated"`
- }
- type CustomerDict struct {
- Id int
- CustomerName string
- CustomerCode string
- }
- type CellsContractAttachment struct {
- Id int `xorm:"<- not null pk autoincr INT(10)"`
- PId int `xorm:"INT(10)"`
- FileName string `xorm:"VARCHAR(100)"`
- FileExtens string `xorm:"VARCHAR(100)"`
- Host string `xorm:"VARCHAR(254)"`
- FileId string `xorm:"VARCHAR(100)"`
- FileSize int32 `xorm:"INT(11)"`
- UploadDesc string `xorm:"VARCHAR(100)"`
- SortCode int `xorm:"INT(11)"`
- Enabled int `xorm:"INT(11)"`
- Remark string `xorm:"VARCHAR(100)"`
- CreateUserId int `xorm:"INT(10)"`
- CreateBy string `xorm:"VARCHAR(50)"`
- CreateOn time.Time `xorm:"DATETIME created"`
- ModifiedUserId int `xorm:"INT(10)"`
- ModifiedBy string `xorm:"VARCHAR(50)"`
- ModifiedOn time.Time `xorm:"DATETIME updated"`
- }
- type CellsContractAttachmentarrt struct {
- Host string
- FileId string
- FileName string
- Items int
- Id int
- }
|