GAAS 广汽安道拓GFrame金属件MOM项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
668 B

  1. package models
  2. import "leit.com/LAPP_GAAS_GFrame/utils"
  3. type Weekmodellst struct {
  4. Finr int `xorm:"pk comment('工厂号') Int" json:"weekmodellst-finr"`
  5. Weekmodelid int `xorm:"pk comment('周模型ID') Int" json:"weekmodellst-weekmodelid"`
  6. Workdate string `xorm:"pk comment('工作日') VARCHAR(14)" json:"weekmodellst-workdate"`
  7. Daymodelid int `xorm:"comment('日模型ID') INT" json:"weekmodellst-daymodelid"`
  8. Descr string `xorm:"-" json:"weekmodellst-descr"`
  9. }
  10. func (t *Weekmodellst) TableName() string {
  11. return "weekmodellst"
  12. }
  13. // 清除string字段的右侧空格
  14. func (t *Weekmodellst) Clipped() {
  15. utils.TrimStruct(t, *t)
  16. }