package com.nq.pojo; import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; /** * @TableName stock_dz */ @TableName(value ="stock_dz") @Data public class StockDz implements Serializable { @TableId(type = IdType.AUTO,value = "id") private Integer id; private String stockName; private String stockCode; private String stockType; private String stockGid; private String stockSpell; private Integer isLock; private Integer isShow; @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date addTime; private BigDecimal spreadRate; private BigDecimal increaseRatio; private Integer stockNum; @TableField(updateStrategy = FieldStrategy.IGNORED) private String password; @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date startTime; @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date endTime; private BigDecimal discount; private Integer period; /** * 大宗审核开关(0:关闭 1:打开) */ private Integer switchType = 0; private static final long serialVersionUID = 1L; //价格 private BigDecimal nowPrice; }