@mbc-cqrs-serverless/sequence
Version:
Generate increment sequence with time-rotation
20 lines (19 loc) • 486 B
TypeScript
import { RotateByEnum } from '../enums/rotate-by.enum';
export declare class GenerateSequenceDto {
/**
* Date for sequence generation (optional).
*/
date?: Date;
/**
* Rotation criteria for the sequence (e.g., yearly, fiscal-yearly).
*/
rotateBy?: RotateByEnum;
/**
* Tenant code for identifying the organization.
*/
tenantCode: string;
/**
* Type code for specific sequence classification.
*/
typeCode: string;
}