sort and add field
This commit is contained in:
parent
dc9ac66896
commit
a47c804969
4 changed files with 69 additions and 1 deletions
|
|
@ -17,6 +17,21 @@ export class CommandCode extends EntityBase {
|
|||
default: null,
|
||||
})
|
||||
code: number;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ลำดับ",
|
||||
default: null,
|
||||
})
|
||||
order: number;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "คำสั่ง",
|
||||
length: 255,
|
||||
default: null,
|
||||
})
|
||||
caption: string;
|
||||
}
|
||||
|
||||
export class CreateCommandCode {
|
||||
|
|
@ -25,6 +40,12 @@ export class CreateCommandCode {
|
|||
|
||||
@Column()
|
||||
code: number;
|
||||
|
||||
@Column()
|
||||
order: number;
|
||||
|
||||
@Column()
|
||||
caption: string;
|
||||
}
|
||||
|
||||
export type UpdateCommandCode = Partial<CreateCommandCode>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue