แก้ type date
This commit is contained in:
parent
940a6171ca
commit
1f44c7b418
7 changed files with 32 additions and 20 deletions
|
|
@ -88,7 +88,7 @@ export class KpiSpecial extends EntityBase {
|
|||
comment: "ช่วงเวลาเริ่มเก็บข้อมูล",
|
||||
default: null,
|
||||
})
|
||||
startDate: Date;
|
||||
startDate: Date | null;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
|
|
@ -96,7 +96,7 @@ export class KpiSpecial extends EntityBase {
|
|||
comment: "ช่วงเวลาสิ้นสุดเก็บข้อมูล",
|
||||
default: null,
|
||||
})
|
||||
endDate: Date;
|
||||
endDate: Date | null;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ export class KpiUserPlanned extends EntityBase {
|
|||
comment: "ช่วงเวลาเริ่มเก็บข้อมูล",
|
||||
default: null,
|
||||
})
|
||||
startDate: Date;
|
||||
startDate: Date | null;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
|
|
@ -101,7 +101,7 @@ export class KpiUserPlanned extends EntityBase {
|
|||
comment: "ช่วงเวลาสิ้นสุดเก็บข้อมูล",
|
||||
default: null,
|
||||
})
|
||||
endDate: Date;
|
||||
endDate: Date | null;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
|
|
@ -163,9 +163,9 @@ export class CreateKpiUserPlanned {
|
|||
@Column()
|
||||
documentInfoEvidence: string;
|
||||
@Column({ nullable: true })
|
||||
startDate?: Date;
|
||||
startDate?: Date | null;
|
||||
@Column({ nullable: true })
|
||||
endDate?: Date;
|
||||
endDate?: Date | null;
|
||||
@Column()
|
||||
achievement1: string;
|
||||
@Column()
|
||||
|
|
@ -196,9 +196,9 @@ export class UpdateKpiUserPlanned {
|
|||
@Column()
|
||||
documentInfoEvidence: string;
|
||||
@Column({ nullable: true })
|
||||
startDate?: Date;
|
||||
startDate?: Date | null;
|
||||
@Column({ nullable: true })
|
||||
endDate?: Date;
|
||||
endDate?: Date | null;
|
||||
@Column()
|
||||
achievement1: string;
|
||||
@Column()
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ export class KpiUserRole extends EntityBase {
|
|||
comment: "ช่วงเวลาเริ่มเก็บข้อมูล",
|
||||
default: null,
|
||||
})
|
||||
startDate: Date;
|
||||
startDate: Date | null;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
|
|
@ -102,7 +102,7 @@ export class KpiUserRole extends EntityBase {
|
|||
comment: "ช่วงเวลาสิ้นสุดเก็บข้อมูล",
|
||||
default: null,
|
||||
})
|
||||
endDate: Date;
|
||||
endDate: Date | null;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
|
|
@ -164,9 +164,9 @@ export class CreateKpiUserRole {
|
|||
@Column()
|
||||
documentInfoEvidence: string;
|
||||
@Column({ nullable: true })
|
||||
startDate?: Date;
|
||||
startDate?: Date | null;
|
||||
@Column({ nullable: true })
|
||||
endDate?: Date;
|
||||
endDate?: Date | null;
|
||||
@Column()
|
||||
achievement1: string;
|
||||
@Column()
|
||||
|
|
@ -197,9 +197,9 @@ export class UpdateKpiUserRole {
|
|||
@Column()
|
||||
documentInfoEvidence: string;
|
||||
@Column({ nullable: true })
|
||||
startDate?: Date;
|
||||
startDate?: Date | null;
|
||||
@Column({ nullable: true })
|
||||
endDate?: Date;
|
||||
endDate?: Date | null;
|
||||
@Column()
|
||||
achievement1: string;
|
||||
@Column()
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ export class KpiUserSpecial extends EntityBase {
|
|||
comment: "ช่วงเวลาเริ่มเก็บข้อมูล",
|
||||
default: null,
|
||||
})
|
||||
startDate: Date;
|
||||
startDate: Date | null;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
|
|
@ -97,7 +97,7 @@ export class KpiUserSpecial extends EntityBase {
|
|||
comment: "ช่วงเวลาสิ้นสุดเก็บข้อมูล",
|
||||
default: null,
|
||||
})
|
||||
endDate: Date;
|
||||
endDate: Date | null;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
|
|
@ -197,9 +197,9 @@ export class CreateKpiUserSpecial {
|
|||
@Column()
|
||||
documentInfoEvidence: string;
|
||||
@Column({ nullable: true })
|
||||
startDate: Date;
|
||||
startDate?: Date | null;
|
||||
@Column({ nullable: true })
|
||||
endDate: Date;
|
||||
endDate?: Date | null;
|
||||
@Column()
|
||||
period: string;
|
||||
@Column()
|
||||
|
|
@ -236,9 +236,9 @@ export class UpdateKpiUserSpecial {
|
|||
@Column()
|
||||
documentInfoEvidence: string;
|
||||
@Column({ nullable: true })
|
||||
startDate: Date;
|
||||
startDate?: Date | null;
|
||||
@Column({ nullable: true })
|
||||
endDate: Date;
|
||||
endDate?: Date | null;
|
||||
@Column()
|
||||
period: string;
|
||||
@Column()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue