| 123456789101112131415161718192021222324252627 |
- package datamodels
- import "time"
- type AppPermit struct {
- AppId int64 `json:"appId" xorm:"'app_id' bigint pk comment('APP ID')"`
- RoleId int64 `json:"roleId" xorm:"'role_id' bigint pk comment('Role ID')"`
- PermitId int64 `json:"permitId" xorm:"'permit_id' bigint pk comment('Permit ID') "`
- PermitTitle string `json:"permitTitle" xorm:"'permit_title' varchar(127) comment('标题') "`
- PermitCode string `json:"permitCode" xorm:"'permit_code' varchar(127) comment('CODE') "`
- PermitDesc string `json:"permitDesc" xorm:"'permit_desc' varchar(511) comment('描述') "`
- PermitType int64 `json:"permitType" xorm:"'permit_type' int comment('Type') "`
- RootId int64 `json:"rootId" xorm:"'root_id' int comment('Root Id') "`
- ParentId int64 `json:"parentId" xorm:"'parent_id' int comment('Parent Id') "`
- SortNo int64 `json:"sortNo" xorm:"'sort_no' int comment('Sort No') "`
- CreatedBy int64 `json:"createdBy" xorm:"'created_by'"`
- CreatedAt time.Time `json:"createdAt" xorm:"'created_at'"`
- UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by'"`
- UpdatedAt time.Time `json:"updatedAt" xorm:"'updated_at'"`
- DeletedFlag int64 `json:"deletedFlag" xorm:"'deleted_flag'"`
- DeletedBy int64 `json:"deletedBy" xorm:"'deleted_by'"`
- DeletedAt time.Time `json:"deletedAt" xorm:"'deleted_at'"`
- }
- func (t *AppPermit) TableName() string {
- return "app_permit"
- }
|