ชื่อฟิวเรื่องสิทธิ์

This commit is contained in:
Kittapath 2024-07-19 14:32:59 +07:00
parent d85fffe082
commit 8445a9ed08

View file

@ -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,
})