| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.baomidou.mybatisplus.extension.activerecord.Model; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | |
| | | *有效期 不填表示永久 |
| | | */ |
| | | @TableField("endTime") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date endTime; |
| | | |
| | | /** |
| | | *有效期结束时间 不填表示永久 |
| | | */ |
| | | @TableField("startTime") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date startTime; |
| | | /** |
| | | *可使用时间段,周,多个逗号分隔 |
| | | */ |
| | |
| | | /** |
| | | *门店id |
| | | */ |
| | | @TableField("storeId") |
| | | private Integer storeId; |
| | | @TableField("storeIds") |
| | | private String storeIds; |
| | | /** |
| | | *运营商id |
| | | */ |
| | |
| | | private Integer operatorId; |
| | | |
| | | |
| | | /** |
| | | *状态 1已上架 2已下架 3已删除 |
| | | */ |
| | | @ApiModelProperty(value = "状态 1已上架 2已下架 3已删除 ") |
| | | @TableField("status") |
| | | private Integer status; |
| | | |
| | | |
| | | |
| | | @TableField(exist = false) |
| | | private String startTimeStr; |
| | | @TableField(exist = false) |
| | | private String endTimeStr; |
| | | |
| | | @Override |
| | | protected Serializable pkVal() { |
| | | return this.id; |