package db
|
|
|
|
import "leit.com/leit_seat_aps/common"
|
|
|
|
//周模型
|
|
type Weekmodel struct {
|
|
Finr int `xorm:"pk"`
|
|
Weekmodelid int `xorm:"pk"`
|
|
Datefrom int
|
|
Descr string
|
|
Abrev string
|
|
Control int
|
|
Loopdays int
|
|
Lastmodif string
|
|
Lastuser string
|
|
Credatuz string
|
|
}
|
|
|
|
func (t *Weekmodel) Clipped() {
|
|
common.TrimStruct(t, *t)
|
|
}
|
|
|
|
func (t *Weekmodel) TableName() string {
|
|
return "weekmodel"
|
|
}
|