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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 会员权益说明
 * </p>
 *
 * @author haoxuyang
 * @since 2024-10-17 09:52:31
 */
@Getter
@Setter
@TableName("tb_member")
@Schema(name = "TbMember", description = "会员权益说明")
public class TbMember implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

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

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

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

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

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

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

    @Schema(description = "所需信誉分")
    private Integer needCreditScore;

    @Schema(description = "最大优惠限制")
    private BigDecimal maximumDiscountLimit;

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

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

    @Schema(description = "创建者")
    private String createBy;

    @Schema(description = "创建",hidden = true)
    private Date createTime;

    @Schema(description = "更新者")
    private String updateBy;

    @Schema(description = "更新时间",hidden = true)
    private Date updateTime;

    @Schema(description = "删除标记（0-正常，2-删除）")
    private Integer delFlag;

    @Schema(description = "备注")
    private String remark;
}
