| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- package auditsetting
- import (
- "time"
- )
- type Base_OilAuditSetting struct {
- Id int `xorm:"not null pk autoincr INT(10)"`
- OrganizeId int `xorm:"not null default 0 comment('单位ID') INT(10)"`
- OrganizeName string `xorm:"comment('单位名称') VARCHAR(100)"`
- AuditStepCode string `xorm:"not null default '0' comment('审批步骤编码') VARCHAR(20)"`
- AuditStepName string `xorm:"comment('审批步骤名称') VARCHAR(50)"`
- RoleId int `xorm:"not null default 0 comment('角色ID') INT(10)"`
- RoleName string `xorm:"comment('角色名称') VARCHAR(50)"`
- UserId string `xorm:"comment('审批人ID') VARCHAR(50)"`
- UserName string `xorm:"comment('审批人') VARCHAR(50)"`
- WorkFlowCord string `xorm:"comment('工作流编码') VARCHAR(50)"`
- WorkFlowName string `xorm:"comment('工作流名称') VARCHAR(50)"`
- Remark string `xorm:"comment('备注') VARCHAR(500)"`
- IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
- CreateOn time.Time `xorm:"DATETIME"`
- CreateUserId int `xorm:"INT(10)"`
- CreateBy string `xorm:"VARCHAR(50)"`
- ModifiedOn time.Time `xorm:"DATETIME"`
- ModifiedUserId int `xorm:"INT(10)"`
- ModifiedBy string `xorm:"VARCHAR(50)"`
- }
- type OilAuditUser struct {
- Id int `xorm:"not null pk autoincr INT(11)"`
- SettingId int `xorm:"INT(11)"`
- UserId int `xorm:"INT(11)"`
- UserName string `xorm:"VARCHAR(20)"`
- CompanyId int `xorm:"INT(11)"`
- DepartmentId int `xorm:"INT(11)"`
- CreateOn time.Time `xorm:"DATETIME"`
- CreateUserId int `xorm:"INT(10)"`
- CreateBy string `xorm:"VARCHAR(50)"`
- ModifiedOn time.Time `xorm:"DATETIME"`
- ModifiedUserId int `xorm:"INT(10)"`
- ModifiedBy string `xorm:"VARCHAR(50)"`
- }
- type UnitDepart struct {
- UnitId int
- Unit string
- }
|