WineBoxStuffing.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. package org.springblade.modules.custom.entity;
  2. import java.math.BigDecimal;
  3. import org.springblade.common.base.BaseEntity;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import lombok.Data;
  6. import lombok.EqualsAndHashCode;
  7. import io.swagger.annotations.ApiModel;
  8. import io.swagger.annotations.ApiModelProperty;
  9. /**
  10. * 酒盒填充物表实体类
  11. *
  12. * @author zzyd
  13. * @since 2023-02-07
  14. */
  15. @Data
  16. @TableName("biz_wine_box_stuffing")
  17. @EqualsAndHashCode(callSuper = true)
  18. @ApiModel(value = "WineBoxStuffing对象", description = "酒盒填充物表")
  19. public class WineBoxStuffing extends BaseEntity {
  20. private static final long serialVersionUID = 1L;
  21. /**
  22. * 名称
  23. */
  24. @ApiModelProperty(value = "名称")
  25. private String name;
  26. /**
  27. * 图片
  28. */
  29. @ApiModelProperty(value = "图片")
  30. private String image;
  31. /**
  32. * 价格
  33. */
  34. @ApiModelProperty(value = "价格")
  35. private BigDecimal price;
  36. /**
  37. * 单位
  38. */
  39. @ApiModelProperty(value = "单位")
  40. private String unit;
  41. /**
  42. * 排序
  43. */
  44. @ApiModelProperty(value = "排序")
  45. private Integer sort;
  46. /**
  47. * 状态 0-禁用 1-启用
  48. */
  49. @ApiModelProperty(value = "状态 0-禁用 1-启用")
  50. private Integer status;
  51. /**
  52. * 默认数量
  53. */
  54. @ApiModelProperty(value = "默认数量")
  55. private Integer defaultNum ;
  56. }