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
368 B
24 lines
368 B
import { Table, Column, Model } from 'sequelize-typescript';
|
|
|
|
@Table({tableName: 'sphinx_chat_members', underscored: true})
|
|
export default class ChatMember extends Model<ChatMember> {
|
|
|
|
@Column
|
|
chatId: number
|
|
|
|
@Column
|
|
contactId: number
|
|
|
|
@Column
|
|
role: number
|
|
|
|
@Column
|
|
totalSpent: number
|
|
|
|
@Column
|
|
totalMessages: number
|
|
|
|
@Column
|
|
lastActive: Date
|
|
|
|
}
|