31 lines
486 B
TypeScript
Raw Normal View History

2022-11-29 23:02:06 +08:00
export default class ApplicationRule {
/**
*/
createdDate: number;
/**
*/
updatedDate: number;
id: number;
/**
*/
name: string;
/**
*/
comment: string;
/**
json序列化后
*/
content: string;
constructor(name: string, comment: string, content: string) {
this.createdDate = Date.now();
this.updatedDate = this.createdDate;
this.name = name;
this.comment = comment;
this.content = content;
}
2021-11-22 16:59:38 +08:00
}