FaultLog.java 852 Bytes
package vion.model;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 工单操作记录
 */
@Getter
@Setter
@TableName(value="tbl_fault_log")
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;
    /** 工时 */
    private Double manHour;
}