"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PeriodValidation = void 0;
const zod_1 = require("zod");
class PeriodValidation {
}
exports.PeriodValidation = PeriodValidation;
PeriodValidation.CREATE = zod_1.z.object({
    category: zod_1.z.string({ message: 'Kategori periode harus diisi' }),
    start_date: zod_1.z.string({ message: 'Tanggal mulai periode harus diisi' }).datetime(),
    end_date: zod_1.z.string({ message: 'Tanggal akhir periode harus diisi' }).datetime(),
});
PeriodValidation.UPDATE = zod_1.z.object({
    category: zod_1.z.string({ message: 'Kategori periode harus diisi' }),
    start_date: zod_1.z.string({ message: 'Tanggal mulai periode harus diisi' }).datetime(),
    end_date: zod_1.z.string({ message: 'Tanggal akhir periode harus diisi' }).datetime(),
});
