PtlNewCarJudgeRules.java 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. package com.ydtech.modules.protocol.entity.po;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import com.fasterxml.jackson.annotation.JsonFormat;
  7. import lombok.Data;
  8. import java.io.Serializable;
  9. import java.time.LocalDateTime;
  10. import java.util.Date;
  11. /**
  12. * 新车判断规则
  13. *
  14. * @TableName ptl_new_car_judge_rules
  15. */
  16. @Data
  17. @TableName(value = "ptl_new_car_judge_rules")
  18. public class PtlNewCarJudgeRules implements Serializable {
  19. /**
  20. * 主键
  21. */
  22. @TableId(type = IdType.AUTO)
  23. private Integer id;
  24. /**
  25. * 归属保司
  26. */
  27. @TableField(value = "company_id")
  28. private String companyId;
  29. /**
  30. * 车辆类型
  31. */
  32. @TableField(value = "vehicle_type")
  33. private String vehicleType;
  34. /**
  35. * 单位 month-月 day-天
  36. */
  37. @TableField(value = "unit_type_code")
  38. private String unitTypeCode;
  39. /**
  40. * 单位值
  41. */
  42. @TableField(value = "unit_type_value")
  43. private String unitTypeValue;
  44. /**
  45. * 是否有效(0有效 1 无效)
  46. */
  47. @TableField(value = "is_effective")
  48. private String isEffective;
  49. /**
  50. * 保存日期
  51. */
  52. @TableField(value = "save_date")
  53. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  54. private Date saveDate;
  55. @TableField(exist = false)
  56. private static final long serialVersionUID = 1L;
  57. }