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.

22 lines
834 B

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