package cn.iocoder.yudao.module.promotion.controller.admin.discount.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.Date;

@ApiModel("管理后台 - 限时折扣活动 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DiscountActivityRespVO extends DiscountActivityBaseVO {

    @ApiModelProperty(value = "活动编号", required = true, example = "1024")
    private Long id;

    @ApiModelProperty(value = "活动状态", required = true, example = "1")
    @NotNull(message = "活动状态不能为空")
    private Integer status;

    @ApiModelProperty(value = "创建时间", required = true)
    private Date createTime;

}
