feat:移植工程
This commit is contained in:
37
src/types/period.ts
Normal file
37
src/types/period.ts
Normal file
@@ -0,0 +1,37 @@
|
||||
/**
|
||||
* 月经天
|
||||
*/
|
||||
export interface IPeriodDay {
|
||||
id?: number;
|
||||
/**
|
||||
* 当前日期
|
||||
*/
|
||||
date: string;
|
||||
/**
|
||||
* 是否来月经
|
||||
*/
|
||||
isMenstruate: boolean;
|
||||
/**
|
||||
* 是否吃药
|
||||
*/
|
||||
isDrug: boolean;
|
||||
/**
|
||||
* 流量
|
||||
*/
|
||||
flowLevel: string;
|
||||
/**
|
||||
* 症状
|
||||
*/
|
||||
crampLevel: string;
|
||||
/**
|
||||
* 爱爱
|
||||
*/
|
||||
sexActivity: string;
|
||||
}
|
||||
|
||||
export interface IPeriodSetting {
|
||||
id?: number;
|
||||
cycleLength: number;
|
||||
duration: number;
|
||||
isCalculate: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user