12345678910111213141516171819 |
- package models
- type Fpdetail struct {
- ID int64 `xorm:"'id' bigint pk autoincr comment('配方子表id')"`
- PastureID int64 `xorm:"'pastureid' bigint not null"`
- BarID int64 `xorm:"'barid' bigint not null comment('栏舍id')"`
- Barname string `xorm:"'barname' varchar(50) comment('栏舍名称')"`
- Times int8 `xorm:"'times' tinyint comment('班次')"`
- Tratio float64 `xorm:"'tratio' decimal(38,3) comment('班次比例')"`
- Weight float64 `xorm:"weight" json:"weight"`
- Ptsrate string `xorm:"'ptsrate' decimal(38,6) unsigned zerofill default '00000000000000000000000000000000.000000' comment('补料比例')"`
- Cowcount string `xorm:"'cowcount' char(20) comment('牛头数')"`
- Ccountradio string `xorm:"'ccountradio' char(20) comment('牛头系数')"`
- Ptid int64 `xorm:"'ptid' bigint default -1 comment('配方模板')"`
- Ptsid int64 `xorm:"'ptsid' bigint default -1 comment('补料配方')"`
- Ptuse float64 `xorm:"'ptuse' decimal(38,2) unsigned default 0.00 comment('0 未分配 大于0分配')"`
- Ptsuse float64 `xorm:"'ptsuse' decimal(38,2) unsigned default 0.00 comment('0 未分配 大于0分配')"`
- Supplement float64 `xorm:"'supplement' decimal(38,2) default 0.00"`
- }
|