package com.hzs.member.base.ext;/**
 * @Description:
 * @Author: yuhui
 * @Time: 2023/10/23 17:29
 * @Classname: CuMemberAnnuityExt
 * @PackageName: com.hzs.member.base.ext
 */

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;

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

/**
 *@BelongsProject: hzs_java_cloud_africa
 *@BelongsPackage: com.hzs.member.base.ext
 *@Author: yh
 *@CreateTime: 2023-10-23  17:29
 *@Description: TODO
 *@Version: 1.0
 */
@Data
public class CuMemberAnnuityExt extends BaseEntity {


    /**
     * 主键
     */
    private Long pkId;

    /**
     * 会员主键
     */
    private Long pkMember;

    /**
     * 单价
     */
    private BigDecimal unitPrice;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 总价
     */
    private BigDecimal totalPrice;


    /**
     * 兑换年金编号
     */
    private String code;
    /**
     * 会员编号
     */
    private String memberCode;

    /**
     * 会员名称
     */
    private String memberName;
    /**
     * 到期时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expireDate;

    /**
     * 买前天数
     */
    private Long beforeResidue;

    /**
     * 买后天数
     */
    private Long afterResidue;

    /**
     * 等级名称
     */
    private String gradeName;

    /**
     * 奖衔名称
     */
    private String awardsName;
}
