yg-tools
Version:
some convenient APIs and Methods for Youngon
32 lines (31 loc) • 636 B
TypeScript
export declare class Duty {
/**
* 是否参与值班 0表示不参与值班, 1表示参与值班
*/
state: 0 | 1;
/**
* 值班星期的集合
*/
week: number[];
/**
* 值班课节的集合
*/
class: number[];
/**
* 本周值班记录集合
*/
dutydate: string[];
constructor(options?: {
state: 0 | 1;
week: number[];
class: number[];
dutydate?: string[];
});
static createDuty(options?: {
state: 0 | 1;
week: number[];
class: number[];
dutydate?: string[];
}): Duty;
}
export default Duty;