package cn.ey.biz.module.system.dal.dataobject.rate;

import cn.ey.biz.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.math.BigDecimal;

/**
 * 字段权限配置 DO
 */
@TableName("dict_surcharge_rate_gds_external")
@KeySequence("dict_surcharge_rate_gds_external_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DictSurchargeRateGdsExternalDO extends BaseDO {

    /**
     * 主键
     */
    @TableId
    private Long id;

    /**
     * source_type
     */
    private String sourceType;

    /**
     * 国家区域
     */
    private String countryRegion;

    /**
     * 业务线
     */
    private String surchargeId;

    /**
     * 旺季开始日期
     */
    private String peakStartDate;

    /**
     * 旺季结束日期
     */
    private String peakEndDate;

    /**
     * 浮动费率
     */
    private BigDecimal surchargeRate;

    /**
     * 项目legal entity code
     */
    private String engagementLeCode;

    /**
     * 项目business uint code
     */
    private String engagementBuCode;

    /**
     * 项目management unit code
     */
    private String engagementMuCode;

    /**
     * 项目 operating unit code
     */
    private String engagementOuCode;

    /**
     * engagement_sl_code
     */
    private String engagementSlCode;

    /**
     * engagement_ssl_code
     */
    private String engagementSslCode;

    /**
     * 项目 sub mgmt unit code
     */
    private String engagementSmuCode;

    /**
     * 员工legal entity code
     */
    private String employeeLeCode;

    /**
     * 员工business unit code
     */
    private String employeeBuCode;

    /**
     * 员工operating unit code
     */
    private String employeeOuCode;

    /**
     * 员工mu
     */
    private String employeeMuCode;

    /**
     * 员工smu
     */
    private String employeeSmuCode;

    /**
     * rank_code
     */
    private String rankCode;

    /**
     * grade_code
     */
    private String gradeCode;

    /**
     * priority
     */
    private Integer priority;

    /**
     * 状态（0正常 1停用）
     */
    private int status;
}
