PriceList.java 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. package com.fdkankan.sale.entity;
  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.TableLogic;
  6. import com.baomidou.mybatisplus.annotation.TableName;
  7. import java.io.Serializable;
  8. import java.math.BigDecimal;
  9. import java.util.Date;
  10. import com.fasterxml.jackson.annotation.JsonFormat;
  11. import lombok.Getter;
  12. import lombok.Setter;
  13. /**
  14. * <p>
  15. *
  16. * </p>
  17. *
  18. * @author
  19. * @since 2023-02-16
  20. */
  21. @Getter
  22. @Setter
  23. @TableName("t_price_list")
  24. public class PriceList implements Serializable {
  25. private static final long serialVersionUID = 1L;
  26. /**
  27. * 报价单
  28. */
  29. @TableId(value = "price_list_id", type = IdType.AUTO)
  30. private Integer priceListId;
  31. /**
  32. * 工单号
  33. */
  34. @TableField("repair_id")
  35. private String repairId;
  36. /**
  37. * 项目名称
  38. */
  39. @TableField("name")
  40. private String name;
  41. /**
  42. * 价格
  43. */
  44. @TableField("price")
  45. @JsonFormat(shape = JsonFormat.Shape.STRING)
  46. private BigDecimal price;
  47. @TableField("count")
  48. private Integer count;
  49. @TableField("rec_status")
  50. @TableLogic(value = "A",delval = "I")
  51. private String recStatus;
  52. @TableField("create_time")
  53. private String createTime;
  54. @TableField("update_time")
  55. private String updateTime;
  56. /**
  57. * 1确认过报价,0未确认过报价
  58. */
  59. @TableField("status")
  60. private Integer status;
  61. /**
  62. * 0备件,1人工
  63. */
  64. @TableField("type")
  65. private Integer type;
  66. @TableField("labor_id")
  67. private Integer laborId;
  68. @TableField("part_id")
  69. private Integer partId;
  70. /**
  71. * 出库状态0未出库,1已出库
  72. */
  73. @TableField("out_status")
  74. private Integer outStatus;
  75. /**
  76. * 回收状态,0未回收,1已回收
  77. */
  78. @TableField("recovery_status")
  79. private Integer recoveryStatus;
  80. }