package com.xiaoniu.system.operation.member.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author haoxuyang
 * @Date 2024/10/17 9:55
 */
@Data
@Schema(description = "会员权益列表响应参数VO")
public class MemberListVO {

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "会员名称")
    private String memberName;

    @Schema(description = "会员图标")
    private String memberIcon;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建",hidden = true)
    private Date createTime;

    @Schema(description = "会员有效天数")
    private Integer memberEffectiveDays;

    @Schema(description = "会员类型（多个逗号分隔）")
    private String memberType;

    @Schema(description = "会员折扣")
    private Double memberDiscount;

    @Schema(description = "会员价格")
    private BigDecimal memberPrice;

    @Schema(description = "销量")
    private Integer salesVolume;

    @Schema(description = "会员状态（1-上架 2-下架）")
    private Integer memberStatus;

    @Schema(description = "会员权益说明")
    private String equityStatement;

}
