package com.spring.modules.quote.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import com.spring.common.utils.QueryPage; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.math.BigDecimal; import java.util.Date; import java.util.List; @TableName("plm_quote") @Data public class Quote extends QueryPage { @TableId private Long id; private String quoteNo; private String site; private String buNo; private String versionNo; @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private Date quoteDate; private String quoteVersionNo; private String customerNo; private String projectNo; /** * 采购专员 */ private String purchase; /** * 报价专员 */ private String quoter; /** * 币种 */ private String currency; private String status; private String customerInquiryNo; private String insideInquiryNo; /** * 是否需要审批 */ private String requireApproval; /** * 审批状态 */ private String approvalStatus; /** * 是否需要tool */ private String requireToolFlag; private String active; private String createBy; @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date createDate; private String updateBy; @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date updateDate; private String remark; private String application; private String annualDemand; //年需求量 private String costModel; private BigDecimal markup; private String chipPrice; /** * ------------------(额外字段)---------------------- */ @TableField(exist = false) private String customerDesc; @TableField(exist = false) private String projectDesc; @TableField(exist = false) private String buDesc; @TableField(exist = false) @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private Date startDate; @TableField(exist = false) @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private Date endDate; @TableField(exist = false) private Integer buId; @TableField(exist = false) private String quoterName; @TableField(exist = false) private String purchaseName; @TableField(exist = false) private List ids; @TableField(exist = false) private Integer authHistId; @TableField(exist = false) private String authHistRemark; @TableField(exist = false) private String canAuthFlag; @TableField(exist = false) private String lastStepFlag; @TableField(exist = false) private String bu; @TableField(exist = false) private Integer userId; @TableField(exist = false) private String orderRef1; @TableField(exist = false) private String userDisplay; @TableField(exist = false) private String groupDesc; @TableField(exist = false) private Integer stepId; @TableField(exist = false) private String recordTypeDb; @TableField(exist = false) private Integer quoteDetailId; @TableField(exist = false) private Boolean isSimultaneous; @TableField(exist = false) private String finalCustomerNo; @TableField(exist = false) private String finalCustomerDesc; @TableField(exist = false) private String currencyDesc; @TableField(exist = false) private String projectId; @TableField(exist = false) private String searchPartNo; }