package com.hzs.member.achieve.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hzs.common.core.annotation.Transaction;
import com.hzs.common.core.constant.EnumsPrefixConstants;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description:
 * @Author: sui q
 * @Time: 2023/1/30 17:25
 * @Classname: MemberSettlePeriodVO
 * @PackageName: com.hzs.member.achieve.vo
 */
@Data
public class MemberSettlePeriodVO implements Serializable {

    /**
     * 奖金期数
     */
    private Integer pkId;

    /**
     * 结算日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date settleDate;

    /**
     * 是否结算
     */
    @Transaction(transactionKey = EnumsPrefixConstants.DEALER_YES_NO)
    @JsonIgnore
    private Integer isSettle;

    private String isSettleVal;

    /**
     * 公布日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date publishDate;

    /**
     * 是否公布
     */
    @Transaction(transactionKey = EnumsPrefixConstants.DEALER_YES_NO)
    @JsonIgnore
    private Integer isPublish;

    private String isPublishVal;

    /**
     * 发放日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date grantDate;

    /**
     * 是否发放
     */
    @Transaction(transactionKey = EnumsPrefixConstants.DEALER_YES_NO)
    @JsonIgnore
    private Integer isGrant;

    private String isGrantVal;

    /**
     * 是否提现
     */
    @Transaction(transactionKey = EnumsPrefixConstants.DEALER_YES_NO)
    @JsonIgnore
    private Integer isWithdrawal;

    private String isWithdrawalVal;
    /**
     * 提现日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date withdrawalDate;

    /**
     * 是否重算
     */
    @Transaction(transactionKey = EnumsPrefixConstants.DEALER_YES_NO)
    private Integer isRetry;

    private String isRetryVal;
}
