| | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.framework.aspectj.lang.annotation.Excel; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | |
| | | */ |
| | | @Data |
| | | @TableName("procurement_price_management") |
| | | @ApiModel |
| | | @Schema |
| | | public class ProcurementPriceManagement { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "商品名称") |
| | | @Schema(description = "商品名称") |
| | | @Excel(name = "商品名称") |
| | | private String productName; |
| | | |
| | | @ApiModelProperty(value = "商品编码") |
| | | @Schema(description = "商品编码") |
| | | @Excel(name = "商品编码") |
| | | private String productCode; |
| | | |
| | | @ApiModelProperty(value = "规格型号") |
| | | @Schema(description = "规格型号") |
| | | @Excel(name = "规格型号") |
| | | private String specification; |
| | | |
| | | @ApiModelProperty(value = "供应商名称") |
| | | @Schema(description = "供应商名称") |
| | | @Excel(name = "供应商名称") |
| | | private String supplierName; |
| | | |
| | | @ApiModelProperty(value = "基础价格") |
| | | @Schema(description = "基础价格") |
| | | @Excel(name = "基础价格") |
| | | private String basePrice; |
| | | |
| | | @ApiModelProperty(value = "状态") |
| | | @Schema(description = "状态") |
| | | @TableField(exist = false) |
| | | @Excel(name = "状态") |
| | | private String status; |
| | | |
| | | @ApiModelProperty(value = "单位") |
| | | @Schema(description = "单位") |
| | | private String unit; |
| | | |
| | | @ApiModelProperty(value = "折扣类型") |
| | | @Schema(description = "折扣类型") |
| | | @Excel(name = "折扣类型", readConverterExp = "=无折扣,percentage=百分比折扣,fixed=固定金额") |
| | | private String discountType; |
| | | |
| | | @ApiModelProperty(value = "折扣值") |
| | | @Schema(description = "折扣值") |
| | | @Excel(name = "折扣值") |
| | | private String discountValue; |
| | | |
| | | @ApiModelProperty(value = "折扣有效期") |
| | | @Schema(description = "折扣有效期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private Date discountEndTime; |
| | | |
| | | @ApiModelProperty(value = "最低价格") |
| | | @Schema(description = "最低价格") |
| | | @Excel(name = "最低价格") |
| | | private String minPrice; |
| | | |
| | | @ApiModelProperty(value = "最高价格") |
| | | @Schema(description = "最高价格") |
| | | @Excel(name = "最高价格") |
| | | private String maxPrice; |
| | | |
| | | @ApiModelProperty(value = "预警阈值(%)") |
| | | @Schema(description = "预警阈值(%)") |
| | | private String warningThreshold; |
| | | |
| | | @ApiModelProperty(value = "生效时间") |
| | | @Schema(description = "生效时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "生效时间", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date effectiveTime; |
| | | |
| | | @ApiModelProperty(value = "失效时间") |
| | | @Schema(description = "失效时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private Date expireTime; |
| | | |
| | | @ApiModelProperty(value = "调价原因") |
| | | @Schema(description = "调价原因") |
| | | private String reason; |
| | | |
| | | @ApiModelProperty(value = "备注") |
| | | @Schema(description = "备注") |
| | | private String remark; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @Schema(description = "创建时间") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private LocalDateTime createTime; |
| | | |
| | | @ApiModelProperty(value = "创建用户") |
| | | @Schema(description = "创建用户") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Integer createUser; |
| | | |
| | | @ApiModelProperty(value = "修改时间") |
| | | @Schema(description = "修改时间") |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private LocalDateTime updateTime; |
| | | |
| | | @ApiModelProperty(value = "修改用户") |
| | | @Schema(description = "修改用户") |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Integer updateUser; |
| | | |
| | | @ApiModelProperty(value = "租户ID") |
| | | @Schema(description = "租户ID") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long tenantId; |
| | | |