package cn.ey.biz.module.system.dal.dataobject.engagement.scope;

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

/**
 * 商机范围
 */
@TableName(value = "system_oppr_scope_config", autoResultMap = true)
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SystemOpprScopeConfigDO extends BaseDO {

    @TableId
    private Long id;

    /**
     * Management Region
     */
    private String managementRegion;

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

    /**
     * 子业务线
     */
    private String subServiceLine;

    /**
     * competency
     */
    private String competency;

    /**
     * 是否公开 0：否 1：是
     */
    private Integer isOpen;

    /**
     * 是否自定义 0：否 1：是
     */
    private Integer isCustom;

    /**
     *on_going是否公开
     */
    private Integer onGoingEnable;

    /**
     * on_won是否公开
     */
    private Integer onWonEnable;

    /**
     * on_declined是否公开
     */
    private Integer onDeclinedEnable;

    /**
     * on_hold是否公开
     */
    private Integer onHoldEnable;

    /**
     * on_lost是否公开
     */
    private Integer onLostEnable;

    /**
     * 租户编号
     */
    private Long tenantId;

}
