wangzhibo
7 天以前 665ba0f9ae078c2859209451a163d10515171d11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { BaseEntity } from '../../base/entity/base';
import { Column, Entity, Index } from "typeorm";
 
/**
 * 回收物品预约信息-详细log
 */
@Entity("t_recycle_appointment_log")
export class RecycleAppointmentLogEntity extends BaseEntity {
    @Index()
    @Column({ comment: "预约ID" })
    appointmentId: number;
 
    @Column({
        comment: "操作类型",
        dict: [
            "创建预约",
            "审核通过",
            "分配人员",
            "接单",
            "到达",
            "开始回收",
            "完成",
            "取消",
            "改期"
        ]
    })
    action: string;
 
    @Column({ comment: "操作人类型" })   // 用户/分拣员/管理员
    operatorType: string;
 
    @Column({ comment: "操作人ID" })
    operatorId: number;
 
    @Column({ comment: "描述" })
    remark: string;
 
 
}