package com.hzs.bonus.detail.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzs.common.core.annotation.Transaction;
import lombok.Data;

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

/**
 * @description: 区域考核结果
 * @author: sui q
 * @time: 2025/1/16 11:13
 * @classname: CuRegionAssessVO
 * @package_name: com.hzs.bonus.detail.vo
 * version 1.0.0
 */
@Data
public class CuRegionAssessVO implements Serializable {

    /**
     * 会员编号
     */
    private String memberCode;

    /**
     * 会员姓名
     */
    private String memberName;

    /**
     * 考核区域 省+市+县
     */
    private String assessAddress;

    /**
     * 考核期
     */
    private Integer assessPeriod;

    /**
     * 考核开始日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date assessStartDate;

    /**
     * 考核期结束日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date assessEndDate;

    /**
     * 达标次数
     */
    private Integer reachNum;

    @Transaction
    private List<CuRegionAssessDetailVO> regionAssessDetailVoList;
}
