You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
370 B
24 lines
370 B
5 years ago
|
import { Table, Column, Model } from 'sequelize-typescript';
|
||
|
|
||
|
@Table({tableName: 'sphinx_chat_members', underscored: true})
|
||
|
export default class ChatMember extends Model<ChatMember> {
|
||
|
|
||
|
@Column
|
||
|
chat_id: number
|
||
|
|
||
|
@Column
|
||
|
contact_id: number
|
||
|
|
||
|
@Column
|
||
|
role: number
|
||
|
|
||
|
@Column
|
||
|
totalSpent: number
|
||
|
|
||
|
@Column
|
||
|
totalMessages: number
|
||
|
|
||
|
@Column
|
||
|
lastActive: Date
|
||
|
|
||
|
}
|