50 lines
1.4 KiB
TypeScript
50 lines
1.4 KiB
TypeScript
|
|
import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';
|
||
|
|
|
||
|
|
@Entity('niu_sms_template')
|
||
|
|
export class NiuSmsTemplate {
|
||
|
|
@PrimaryGeneratedColumn({ type: 'int' })
|
||
|
|
id: number;
|
||
|
|
|
||
|
|
@Column({ name: 'site_id', type: 'int', default: 0 })
|
||
|
|
siteId: any;
|
||
|
|
|
||
|
|
@Column({ name: 'sms_type', type: 'varchar', length: 255, default: '' })
|
||
|
|
smsType: any;
|
||
|
|
|
||
|
|
@Column({ name: 'username', type: 'varchar', length: 255, default: '' })
|
||
|
|
username: any;
|
||
|
|
|
||
|
|
@Column({ name: 'template_key', type: 'varchar', length: 255, default: '' })
|
||
|
|
templateKey: any;
|
||
|
|
|
||
|
|
@Column({ name: 'template_id', type: 'varchar', length: 255, default: '' })
|
||
|
|
templateId: any;
|
||
|
|
|
||
|
|
@Column({ name: 'template_type', type: 'varchar', length: 255, default: '' })
|
||
|
|
templateType: any;
|
||
|
|
|
||
|
|
@Column({ name: 'template_content', type: 'varchar', length: 255, default: '' })
|
||
|
|
templateContent: any;
|
||
|
|
|
||
|
|
@Column({ name: 'param_json', type: 'varchar', length: 255, default: '' })
|
||
|
|
paramJson: any;
|
||
|
|
|
||
|
|
@Column({ name: 'status', type: 'varchar', length: 255, default: '' })
|
||
|
|
status: any;
|
||
|
|
|
||
|
|
@Column({ name: 'audit_status', type: 'varchar', length: 255, default: '' })
|
||
|
|
auditStatus: any;
|
||
|
|
|
||
|
|
@Column({ name: 'audit_msg', type: 'varchar', length: 255, default: '' })
|
||
|
|
auditMsg: any;
|
||
|
|
|
||
|
|
@Column({ name: 'report_info', type: 'text' })
|
||
|
|
reportInfo: any;
|
||
|
|
|
||
|
|
@Column({ name: 'create_time', type: 'int', default: 0 })
|
||
|
|
createTime: any;
|
||
|
|
|
||
|
|
@Column({ name: 'update_time', type: 'int', default: 0 })
|
||
|
|
updateTime: any;
|
||
|
|
}
|