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

24 lines
452 B
TypeScript

import { BaseModel } from "./base"
export interface ICommon_Model_User {
id :string,
username :string,
photo:string,
email :string,
phone :string,
created_time :Date,
modified_time :Date,
password :string,
sign :string,
location :string,
title :string,
active:number
}
export const Table_User="user"
class UserModel extends BaseModel {
table=Table_User
model=<ICommon_Model_User>{}
}
export let userModel=new UserModel