export interface AgeModel {
    year: number
    month: number
    day: number
}
export class MyAgeModel implements AgeModel {
    year: number
    month: number
    day: number
    constructor(data: Partial<AgeModel>) {
        this.year = data.year ?? 0
        this.month = data.month ?? 0
        this.day = data.day ?? 0
    }
}

