migrate dna
This commit is contained in:
parent
e16390b787
commit
d51357e715
9 changed files with 243 additions and 183 deletions
|
|
@ -5,6 +5,13 @@ import { PosType } from "./PosType";
|
|||
|
||||
@Entity("developmentScholarship")
|
||||
export class DevelopmentScholarship extends EntityBase {
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "id dna หน่วยงาน",
|
||||
default: null,
|
||||
})
|
||||
rootDnaId: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน",
|
||||
|
|
@ -137,6 +144,13 @@ export class DevelopmentScholarship extends EntityBase {
|
|||
@JoinColumn({ name: "posTypeId" })
|
||||
posType: PosType;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "id Dna หน่วยงาน",
|
||||
default: null,
|
||||
})
|
||||
guarantorRootDnaId: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน",
|
||||
|
|
@ -576,6 +590,7 @@ export class DevelopmentScholarship extends EntityBase {
|
|||
budgetSourceOther: string;
|
||||
}
|
||||
export class CreateDevelopmentScholarship {
|
||||
rootDnaId?: string | null;
|
||||
rootId: string | null;
|
||||
root: string | null;
|
||||
org: string | null;
|
||||
|
|
@ -591,6 +606,7 @@ export class CreateDevelopmentScholarship {
|
|||
posExecutive: string | null;
|
||||
posLevelId: string | null;
|
||||
posTypeId: string | null;
|
||||
guarantorRootDnaId: string | null;
|
||||
guarantorRootId: string | null;
|
||||
guarantorRoot: string | null;
|
||||
guarantorOrg: string | null;
|
||||
|
|
@ -642,6 +658,7 @@ export class CreateDevelopmentScholarship {
|
|||
}
|
||||
|
||||
export class UpdateDevelopmentScholarship {
|
||||
rootDnaId?: string | null;
|
||||
rootId: string | null;
|
||||
root: string | null;
|
||||
org: string | null;
|
||||
|
|
@ -657,6 +674,7 @@ export class UpdateDevelopmentScholarship {
|
|||
posExecutive: string | null;
|
||||
posLevelId: string | null;
|
||||
posTypeId: string | null;
|
||||
guarantorRootDnaId?: string | null;
|
||||
guarantorRootId?: string | null;
|
||||
guarantorRoot?: string | null;
|
||||
guarantorOrg?: string | null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue