Part.java 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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 lombok.Getter;
  11. import lombok.Setter;
  12. /**
  13. * <p>
  14. *
  15. * </p>
  16. *
  17. * @author
  18. * @since 2022-12-07
  19. */
  20. @Getter
  21. @Setter
  22. @TableName("t_part")
  23. public class Part implements Serializable {
  24. private static final long serialVersionUID = 1L;
  25. /**
  26. * 备件
  27. */
  28. @TableId(value = "part_id", type = IdType.AUTO)
  29. private Integer partId;
  30. /**
  31. * 备件名称
  32. */
  33. @TableField("part_name")
  34. private String partName;
  35. /**
  36. * 备件名称
  37. */
  38. @TableField("part_num")
  39. private String partNum;
  40. /**
  41. * 备件单位
  42. */
  43. @TableField("part_unit")
  44. private String partUnit;
  45. /**
  46. * 备件价格
  47. */
  48. @TableField("part_price")
  49. private BigDecimal partPrice;
  50. /**
  51. * 备件库存
  52. */
  53. @TableField("part_stock")
  54. private Integer partStock;
  55. /**
  56. * 相机类型0看看,1看见,2深时
  57. */
  58. @TableField("camera_type")
  59. private Integer cameraType;
  60. /**
  61. * 0启用,1禁用
  62. */
  63. @TableField("status")
  64. private Integer status;
  65. @TableField("rec_status")
  66. @TableLogic(value = "A",delval = "I")
  67. private String recStatus;
  68. @TableField("create_time")
  69. private String createTime;
  70. @TableField("update_time")
  71. private String updateTime;
  72. }