package com.ruoyi.project.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

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

/**
 * 代理商考核对象 tb_agent_target
 *
 * @author ruoyi
 * @date 2024-05-16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class TbAgentTarget extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 考核ID
     */
    @TableId(type = IdType.AUTO)
    private Long targetId;

    /**
     * 代理商ID
     */
    private Long agentId;

    /**
     * 考核年度
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date targetYear;

    /**
     * 目标销售额
     */
    private BigDecimal targetMoney;

    /**
     * 实际销售额
     */
    private BigDecimal actualMoney;

    /**
     * 目标销售电梯台数
     */
    private Long targetElevatorCount;

    /**
     * 实际销售电梯台数
     */
    private Long actualElevatorCount;

    /**
     * 目标标杆项目数
     */
    private BigDecimal targetProjectCount;

    /**
     * 实际标杆项目数
     */
    private BigDecimal actualProjectCount;

    /**
     * 币种
     */
    private String currency;

    /**
     * 删除标记（0：启用  1：停用）
     */
    private String delFlag;

}
