package supplierfile import ( "time" ) type OilSupplierFile struct { Id int `xorm:"not null pk autoincr INT(10)"` SupplierId int `xorm:"INT(10)"` SupplierTypeCode string `xorm:"VARCHAR(5)"` IsManuf string `xorm:"VARCHAR(5)"` SupplierCertSubId int `xorm:"INT(10)"` CertSubName string `xorm:"VARCHAR(50)"` NeedFileType string `xorm:"VARCHAR(50)"` NeedFileCode string `xorm:"VARCHAR(20)"` FileType int `xorm:"INT(10)"` SupType int `xorm:"INT(10)"` FileExt string `xorm:"VARCHAR(10)"` FileName string `xorm:"VARCHAR(50)"` EffectDate time.Time `xorm:"DATETIME"` FileUrl string `xorm:"VARCHAR(100)"` OtherRemark string `xorm:"VARCHAR(500)"` Remark string `xorm:"VARCHAR(500)"` IsDelete int `xorm:"INT(10)"` CreateOn time.Time `xorm:"DATETIME created"` 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 Del_OilSupplierFile struct { Id int `xorm:"not null pk autoincr INT(10)"` SupplierId int `xorm:"INT(10)"` SupplierTypeCode string `xorm:"VARCHAR(5)"` SupplierCertSubId int `xorm:"INT(10)"` CertSubName string `xorm:"VARCHAR(50)"` NeedFileType string `xorm:"VARCHAR(50)"` NeedFileCode string `xorm:"VARCHAR(20)"` FileType int `xorm:"INT(10)"` SupType int `xorm:"INT(10)"` FileExt string `xorm:"VARCHAR(10)"` FileName string `xorm:"VARCHAR(50)"` EffectDate time.Time `xorm:"DATETIME"` FileUrl string `xorm:"VARCHAR(100)"` OtherRemark string `xorm:"VARCHAR(500)"` Remark string `xorm:"VARCHAR(500)"` IsDelete int `xorm:"INT(10)"` CreateOn time.Time `xorm:"DATETIME created"` 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)"` DeleteDate time.Time `xorm:"DATETIME"` } type File struct { Type int "1制造商;2非制造商" SupplierId int } type CheckFile struct { Type int "1制造商;2非制造商" CertId string SupplierId int Grade string FileName string SubName string CurrentPage int64 Size int64 Table int "1准入,2增项,3年审,4信息变更" }