Teamlinker/code/common/model/comment.ts
sx1989827 6b99bb3e4e add
2021-10-25 23:55:54 +08:00

19 lines
397 B
TypeScript

import { BaseModel } from "./base"
export interface ICommon_Model_Comment {
id:string,
type:number,
type_id:string,
user_id: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