package com.hzs.common.domain.member.achieve;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 会员结算期间明细
 * </p>
 *
 * @author hzs
 * @since 2023-07-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("CU_MEMBER_SETTLE_PERIOD_D_SEQ")
@TableName("CU_MEMBER_SETTLE_PERIOD_DETAIL")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CuMemberSettlePeriodDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Integer pkId;

    /**
     * 结算周期
     */
    @TableField("SETTLE_CYCLE")
    private Integer settleCycle;
    /**
     * 开始期间
     */
    @TableField("START_PERIOD")
    private Integer startPeriod;

    /**
     * 结束期间
     */
    @TableField("END_PERIOD")
    private Integer endPeriod;

    /**
     * 是否结算
     */
    @TableField("IS_SETTLE")
    private Integer isSettle;

    /**
     * 公布日期
     */
    @TableField("PUBLISH_DATE")
    private Date publishDate;

    /**
     * 是否公布
     */
    @TableField("IS_PUBLISH")
    private Integer isPublish;

    /**
     * 发放日期
     */
    @TableField("GRANT_DATE")
    private Date grantDate;

    /**
     * 是否发放
     */
    @TableField("IS_GRANT")
    private Integer isGrant;

    /**
     * 提现时间
     */
    @TableField("WITHDRAWAL_DATE")
    private Date withdrawalDate;

    /**
     * 是否提现
     */
    @TableField("IS_WITHDRAWAL")
    private Integer isWithdrawal;

    /**
     * 是否重算
     */
    @TableField("IS_RETRY")
    private Integer isRetry;


}
