FaultLog.java 889 Bytes
package vion.model;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import vion.vo.FaultLogVO;

import java.util.Date;

/**
 * 工单操作记录
 */
@Data
@TableName(value="tbl_fault_log")
@AutoMapper(target = FaultLogVO.class)
public class FaultLog {
    /** 自增列 */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /** 门店id */
    private Long storeId;
    /** 工单id */
    private Long taskId;
    /** 操作者 */
    private Long operator;
    /** 操作内容 */
    private String content;

    /** 创建时间 */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /** 备注 */
    private String remark;
}