py-uni
Version:
py-uni
19 lines (17 loc) • 520 B
text/typescript
/**
* 反馈内容对象
*/
export class FeedbackData{
public Userid: string; // 用户标识
public FeedbackTime: string | undefined; // 反馈时间
public Content: string; // 反馈内容
constructor(options: {
Userid?: string;
FeedbackTime?: string;
Content?: string;
} = {}) {
this.Userid = options.Userid || '';
this.FeedbackTime = options.FeedbackTime || new Date().toString();
this.Content = options.Content || '';
}
}