41 lines
1.1 KiB
TypeScript
41 lines
1.1 KiB
TypeScript
|
|
import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';
|
||
|
|
|
||
|
|
@Entity('diy_form_submit_config')
|
||
|
|
export class DiyFormSubmitConfig {
|
||
|
|
@PrimaryGeneratedColumn({ type: 'int' })
|
||
|
|
id: number;
|
||
|
|
|
||
|
|
@Column({ name: 'site_id', type: 'int', default: 0 })
|
||
|
|
siteId: any;
|
||
|
|
|
||
|
|
@Column({ name: 'form_id', type: 'int', default: 0 })
|
||
|
|
formId: any;
|
||
|
|
|
||
|
|
@Column({ name: 'submit_after_action', type: 'varchar', length: 255, default: '' })
|
||
|
|
submitAfterAction: any;
|
||
|
|
|
||
|
|
@Column({ name: 'tips_type', type: 'varchar', length: 255, default: '' })
|
||
|
|
tipsType: any;
|
||
|
|
|
||
|
|
@Column({ name: 'tips_text', type: 'varchar', length: 255, default: '' })
|
||
|
|
tipsText: any;
|
||
|
|
|
||
|
|
@Column({ name: 'time_limit_type', type: 'varchar', length: 255, default: 0 })
|
||
|
|
timeLimitType: any;
|
||
|
|
|
||
|
|
@Column({ name: 'time_limit_rule', type: 'text' })
|
||
|
|
timeLimitRule: any;
|
||
|
|
|
||
|
|
@Column({ name: 'voucher_content_rule', type: 'text' })
|
||
|
|
voucherContentRule: any;
|
||
|
|
|
||
|
|
@Column({ name: 'success_after_action', type: 'text' })
|
||
|
|
successAfterAction: any;
|
||
|
|
|
||
|
|
@Column({ name: 'create_time', type: 'int', default: 0 })
|
||
|
|
createTime: any;
|
||
|
|
|
||
|
|
@Column({ name: 'update_time', type: 'int', default: 0 })
|
||
|
|
updateTime: any;
|
||
|
|
}
|