DeliverLog.java 1.74 KB
package vion.model;

import com.baomidou.mybatisplus.annotation.*;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.Getter;
import lombok.Setter;
import vion.dto.DeliverLogDTO;
import vion.vo.DeliverLogVO;

import java.util.Date;

/**
 * 项目交付人员日志
 */
@Getter
@Setter
@TableName(value = "tbl_deliver_log")
@AutoMappers({
        @AutoMapper(target = DeliverLogVO.class),
        @AutoMapper(target = DeliverLogDTO.class),
})
public class DeliverLog {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 集团id
     */
    @TableField(value = "account_id")
    private Long accountId;

    /**
     * 项目id
     */
    @TableField(value = "store_id")
    private Long storeId;

    /**
     * 合同编号
     */
    @TableField(value = "contract_no")
    private String contractNo;

    /**
     * 日志人
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 日志日期
     */
    @TableField(value = "log_date")
    private Date logDate;

    /**
     * 干系人
     */
    @TableField(value = "confederate_id")
    private Long confederateId;

    /**
     * 服务方式
     */
    @TableField(value = "service_type")
    private Integer serviceType;

    /**
     * 耗时
     */
    @TableField(value = "log_hour")
    private Double logHour;

    /**
     * 工作内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}