| | |
| | | import ( |
| | | "aps_crm/pkg/mysqlx" |
| | | "gorm.io/gorm" |
| | | "time" |
| | | ) |
| | | |
| | | type ( |
| | |
| | | SubOrder SubOrder `json:"subOrder" gorm:"foreignKey:SubOrderId"` |
| | | SalesDetailsId int `json:"salesDetailsId" gorm:"column:sales_details_id;type:int;comment:销售明细id"` |
| | | SalesDetails SalesDetails `json:"salesDetails" gorm:"foreignKey:SalesDetailsId"` |
| | | StartTime *time.Time `json:"startTime" gorm:"column:start_time;type:datetime;comment:开始时间"` |
| | | EndTime *time.Time `json:"endTime" gorm:"column:end_time;type:datetime;comment:结束时间"` |
| | | StartTime *CustomTime `json:"startTime" gorm:"column:start_time;type:datetime;comment:开始时间"` |
| | | EndTime *CustomTime `json:"endTime" gorm:"column:end_time;type:datetime;comment:结束时间"` |
| | | Content string `json:"content" gorm:"column:content;type:varchar(255);comment:计划内容"` |
| | | File string `json:"file" gorm:"column:file;type:varchar(255);comment:附件"` |
| | | gorm.Model `json:"-"` |