py-uni
Version:
py-uni
17 lines (14 loc) • 496 B
text/typescript
/**
* 填报目标
*/
export class FillInTheTarget{
UserClassSetType: number; // 类型(个体、组织、部门等)
UserClassSetIds: string; // 填报个体集合
constructor(options: {
UserClassSetType?: number;
UserClassSetIds?: string;
} = {}) {
this.UserClassSetType = !options.UserClassSetType ? 0 : Number.parseFloat(options.UserClassSetType.toString());
this.UserClassSetIds = options.UserClassSetIds || '';
}
}