CREATE TABLE IF NOT EXISTS public."Hr_T_StaffRequest" ( "Id" uuid NOT NULL DEFAULT gen_random_uuid(), "TenantId" uuid NULL, "RequestNo" varchar(32) NULL, "RequestDate" date NOT NULL, "BranchId" uuid NOT NULL, "DepartmentId" uuid NOT NULL, "JobPositionId" uuid NOT NULL, "Headcount" integer NOT NULL DEFAULT 1, "EmploymentType" varchar(32) NOT NULL DEFAULT 'FullTime', "Reason" varchar(32) NOT NULL DEFAULT 'NewPosition', "ReplacedUserId" uuid NULL, "ExpectedStartDate" date NULL, "MinSalary" numeric(18, 2) NULL, "MaxSalary" numeric(18, 2) NULL, "CurrencyId" varchar(64) NULL, "Qualifications" text NULL, "Description" text NULL, "RequestedById" uuid NULL, "ApprovalUser" varchar(256) NULL, "ApprovalStatus" varchar(128) NULL, "ApprovalDate" timestamp NULL, "ApprovalDescription" varchar(1024) NULL, "IsActive" boolean NOT NULL DEFAULT TRUE, "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_StaffRequest" PRIMARY KEY ("Id") );