20 lines
577 B
TypeScript
20 lines
577 B
TypeScript
import type { Model } from "timi-web";
|
|
|
|
export type RegistrationEventStatus = "DRAFT" | "ACTIVE" | "INACTIVE" | "DELETED";
|
|
|
|
export type RegistrationLimitType = "NONE" | "DAILY_HALF_DAY" | "NATURAL_DAY" | "INTERVAL_HOUR" | "NATURAL_MONTH" | "TOTAL_LIMIT" | "CUSTOMER_TOTAL_LIMIT";
|
|
|
|
export type RegistrationEvent = {
|
|
name: string;
|
|
description?: string;
|
|
color?: string;
|
|
status?: RegistrationEventStatus;
|
|
requirePhoto?: boolean;
|
|
limitType?: RegistrationLimitType;
|
|
limitValue?: number;
|
|
beginAt?: number;
|
|
endAt?: number;
|
|
sort?: number;
|
|
roleCodeList?: string[];
|
|
} & Model;
|