ชื่อฟิวเรื่องสิทธิ์
This commit is contained in:
parent
d85fffe082
commit
8445a9ed08
1 changed files with 7 additions and 7 deletions
|
|
@ -7,45 +7,45 @@ import { AuthRole } from "./AuthRole";
|
|||
export class AuthRoleAttr extends EntityBase {
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "",
|
||||
comment: "ความเป็นเจ้าของ (Ownership)",
|
||||
length: 255,
|
||||
default: null,
|
||||
})
|
||||
attrOwnership: string;
|
||||
|
||||
@Column({
|
||||
comment: "",
|
||||
comment: "สิทธิ์ดำเนินการ (Permission) การ Create",
|
||||
default: false,
|
||||
})
|
||||
attrIsCreate: boolean;
|
||||
|
||||
@Column({
|
||||
comment: "",
|
||||
comment: "สิทธิ์ดำเนินการ (Permission) การ List",
|
||||
default: false,
|
||||
})
|
||||
attrIsList: boolean;
|
||||
|
||||
@Column({
|
||||
comment: "",
|
||||
comment: "สิทธิ์ดำเนินการ (Permission) การ Get",
|
||||
default: false,
|
||||
})
|
||||
attrIsGet: boolean;
|
||||
|
||||
@Column({
|
||||
comment: "",
|
||||
comment: "สิทธิ์ดำเนินการ (Permission) การ Update",
|
||||
default: false,
|
||||
})
|
||||
attrIsUpdate: boolean;
|
||||
|
||||
@Column({
|
||||
comment: "",
|
||||
comment: "สิทธิ์ดำเนินการ (Permission) การ Delete",
|
||||
default: false,
|
||||
})
|
||||
attrIsDelete: boolean;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "",
|
||||
comment: "สิทธิการเข้าถึง(Privilege)",
|
||||
length: 255,
|
||||
default: null,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue