21 lines
780 B
SQL
21 lines
780 B
SQL
CREATE TABLE IF NOT EXISTS public."Hr_T_DisciplinaryDecision"
|
|
(
|
|
"Id" uuid NOT NULL DEFAULT gen_random_uuid(),
|
|
"TenantId" uuid NULL,
|
|
"CaseId" uuid NOT NULL,
|
|
"DecisionDate" date NOT NULL,
|
|
"PenaltyTypeId" uuid NOT NULL,
|
|
"EffectiveDate" date NULL,
|
|
"NotificationDate" date NULL,
|
|
"DeductionAmount" numeric(18, 4) NULL,
|
|
"DecisionText" text NULL,
|
|
"Status" varchar(32) NOT NULL DEFAULT 'Draft',
|
|
"CreationTime" timestamp NOT NULL DEFAULT (NOW() AT TIME ZONE 'UTC'),
|
|
"CreatorId" uuid NULL,
|
|
"LastModificationTime" timestamp NULL,
|
|
"LastModifierId" uuid NULL,
|
|
"IsDeleted" boolean NOT NULL DEFAULT FALSE,
|
|
"DeletionTime" timestamp NULL,
|
|
"DeleterId" uuid NULL,
|
|
CONSTRAINT "PK_Hr_T_DisciplinaryDecision" PRIMARY KEY ("Id")
|
|
);
|