package com.cool.store.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

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

    /**
     * xfsg_shop_info.id
     */
    @Column(name = "shop_id")
    private Long shopId;

    /**
     * 报价单
     */
    @Column(name = "quotation_url")
    private String quotationUrl;

    /**
     * 设计图
     */
    @Column(name = "design_url")
    private String designUrl;

    /**
     * 备注
     */
    private String remark;

    /**
     * 加密商验收签名  {"pic":"","acceptanceTime":"","result":"","remark":"","status":0}
     */
    @Column(name = "partner_acceptance_signatures")
    private String partnerAcceptanceSignatures;

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

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

    /**
     * 是否删除：0.否 1.是
     */
    private Boolean deleted;


    /**
     * 预计开工时间
     */
    @Column(name = "construction_plan_start_time")
    private Date constructionPlanStartTime;

    /**
     * 预计完工时间
     */
    @Column(name = "construction_plan_end_time")
    private Date constructionPlanEndTime;

    /**
     * 附件
     */
    @Column(name = "construction_annex")
    private String constructionAnnex;

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

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

    /**
     * 创建人
     */
    @Column(name = "construction_create_user")
    private String constructionCreateUser;

    /**
     * 设计组长ID
     */
    @Column(name = "design_leader_id")
    private String designLeaderId;

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

    /**
     * 报价员ID
     */
    @Column(name = "quotation_user_id")
    private String quotationUserId;

    /**
     * 报价备注
     */
    @Column(name = "quotation_remark")
    private String quotationRemark;

    /**
     * 设计提交时间
     */
    @Column(name = "design_submit_time")
    private Date designSubmitTime;

    @Column(name = "quotation_submit_time")
    private Date quotationSubmitTime;

    @Column(name = "design_sheet_id")
    private String designSheetId;
    @Column(name = "design_name")
    private String designName;
    @Column(name = "design_leader_name")
    private String designLeaderName;
    @Column(name = "original_photo_url")
    private String originalPhotoUrl;
    @Column(name = "rendering_url")
    private String renderingUrl;
    @Column(name = "floor_plan_url")
    private String floorPlanUrl;
    @Column(name = "quotation_sheet_id")
    private String quotationSheetId;
    @Column(name = "quoter")
    private String quoter;
    @Column(name = "construction_order_id")
    private String constructionOrderId;
    @Column(name = "actual_entry_time")
    private Date actualEntryTime;
}