Teamlinker/code/common/model/comment.ts
sx1989827 c214bd4d32 add
2022-02-08 22:45:01 +08:00

23 lines
476 B
TypeScript

import { BaseModel } from "./base"
export enum ECommon_Model_Comment_Type {
PROJECT
}
export interface ICommon_Model_Comment {
id:string,
type:ECommon_Model_Comment_Type,
type_id:string,
created_by:string,
content:string,
created_time:Date,
modified_time:Date
}
export const Table_Comment="comment"
class CommentModel extends BaseModel {
table=Table_Comment
model=<ICommon_Model_Comment>{}
}
export let commentModel=new CommentModel