role_member.go 505 B

1234567891011121314
  1. package datamodel
  2. // RoleMember Data Model
  3. type RoleMember struct {
  4. RmId int64 `json:"rmId" xorm:"'rm_id' bigint not null pk comment('主键ID')" `
  5. OcId int64 `json:"ocId" xorm:"'oc_id' bigint comment('OC ID')" `
  6. RoleId int64 `json:"roleId" xorm:"'role_id' bigint comment('Role ID')" `
  7. AccountId int64 `json:"accountId" xorm:"'account_id' bigint comment('Account ID')" `
  8. }
  9. // TableName___
  10. func (t *RoleMember) TableName() string {
  11. return "s_role_member"
  12. }