package com.ylx.point.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ylx.common.annotation.EnumTranslate;
import com.ylx.point.enums.PointActivityStatusEnum;
import com.ylx.point.enums.PointActivityTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel("积分活动分页vo")
public class PointActivityPageVo {

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

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

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

    @ApiModelProperty(name = "覆盖城市")
    private String cityCode;

    @ApiModelProperty(name = "活动开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime startTime;

    @ApiModelProperty(name = "活动结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime endTime;

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

    @ApiModelProperty(name = "状态")
    private String status;

}
