2022-11-29 23:02:06 +08:00

31 lines
486 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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;
}
}