package com.ylx.point.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ylx.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("积分活动详情vo")
public class PointActivityBaseVo {

    @ApiModelProperty("活动主键id")
    private Long id;

    @ApiModelProperty("活动名称")
    private String name;

    @ApiModelProperty("活动简述")
    private String description;

    @ApiModelProperty("活动类型")
    private String activityType;

    @ApiModelProperty("覆盖城市代码")
    private String cityCode;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty("活动开始时间")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty("活动结束时间")
    private Date endTime;

    @ApiModelProperty("是否长期有效 (1:是, 0:否)")
    private String isPermanent;

    @ApiModelProperty("状态: 0=未开始, 1=进行中, 2=已结束, 3=草稿")
    private String status;

}
