package com.cool.store.entity;

import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Data
@Table(name = "xfsg_decoration_measure")
public class DecorationMeasureDO {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 店铺ID
     */
    @Column(name = "shop_id")
    private Long shopId;

    /**
     * 测量员ID
     */
    @Column(name = "measure_user_id")
    private String measureUserId;

    /**
     * 设计员角色ID
     */
    @Column(name = "design_user_id")
    private String designUserId;

    /**
     * 测量日期
     */
    @Column(name = "measure_date")
    private Date measureDate;

    /**
     * 出图日期
     */
    @Column(name = "diagram_date")
    private Date diagramDate;

    /**
     * 测量图
     */
    @Column(name = "measure_url")
    private String measureUrl;

    /**
     * 备注
     */
    @Column(name = "remark")
    private String remark;

    /**
     * 创建时间
     */
    @Column(name = "submit_time")
    private Date submitTime;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @Column(name = "create_user_id")
    private String createUserId;

    /**
     * 更新人
     */
    @Column(name = "update_user_id")
    private String updateUserId;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 是否删除：0.否 1.是
     */
    @Column(name = "deleted", nullable = false, columnDefinition = "tinyint default '0'")
    private Boolean deleted;
    //测量派单ID
    @Column(name = "measurement_sheet_id")
    private String measurementSheetId;
    //测量员
    @Column(name = "measure_user_name")
    private String measureUserName;
    //设计组
    @Column(name = "design_leader_name")
    private String designLeaderName;
}