package models import "time" type BackendJobRank struct { ID uint64 `orm:"column(id);pk;auto" json:"id"` Tid uint64 `orm:"column(tid)" json:"tid"` RankCode string `orm:"column(rank_code);size(50)" json:"rank_code"` RankName string `orm:"column(rank_name);size(100)" json:"rank_name"` LevelNo int `orm:"column(level_no);default(0)" json:"level_no"` DepartmentID uint64 `orm:"column(department_id);default(0)" json:"department_id"` SalaryMin float64 `orm:"column(salary_min);type(decimal);digits(12);decimals(2);default(0)" json:"salary_min"` SalaryMax float64 `orm:"column(salary_max);type(decimal);digits(12);decimals(2);default(0)" json:"salary_max"` DefaultRoleID uint64 `orm:"column(default_role_id);default(0)" json:"default_role_id"` Status int8 `orm:"column(status);default(1)" json:"status"` Sort int `orm:"column(sort);default(0)" json:"sort"` Remark *string `orm:"column(remark);size(512);null" json:"remark"` CreateTime time.Time `orm:"column(create_time);auto_now_add;type(datetime)" json:"create_time"` UpdateTime time.Time `orm:"column(update_time);auto_now;type(datetime)" json:"update_time"` DeleteTime *time.Time `orm:"column(delete_time);type(datetime);null" json:"delete_time"` } func (m *BackendJobRank) TableName() string { return "yz_backend_job_rank" }