package cn.ezhizao.project.business.channel.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import cn.ezhizao.framework.web.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import cn.ezhizao.framework.aspectj.lang.annotation.Excel;

/**
 * 渠道对象 biz_channel
 *
 * @author ruoyi
 * @date 2023-10-26
 */
@Data
@TableName(value = "biz_channel")
public class BizChannel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 渠道分类外键 */
    @ApiModelProperty(value = "${comment}")
    private Long channelCategoryId;

    /** 渠道编码 */
    @Excel(name = "渠道编码")
    @ApiModelProperty(value = "渠道编码")
    private String code;

    /** 渠道名称 */
    @Excel(name = "渠道名称")
    @ApiModelProperty(value = "渠道名称")
    private String name;

    /** 联系人 */
    @Excel(name = "联系人")
    @ApiModelProperty(value = "联系人")
    private String contact;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    @ApiModelProperty(value = "邮箱")
    private String email;

    /** 渠道负责人id */
    @ApiModelProperty(value = "邮箱")
    private Long employeeId;

    /** 资源归属，0公司资源，1负责人资源 */
    @Excel(name = "资源归属，0公司资源，1负责人资源")
    @ApiModelProperty(value = "资源归属，0公司资源，1负责人资源")
    private Integer owner;

    /** 渠道状态，0正常，1禁用 */
    @Excel(name = "渠道状态，0正常，1禁用")
    @ApiModelProperty(value = "渠道状态，0正常，1禁用")
    private Integer status;

    /** 主程序账套外键 */
    @ApiModelProperty(value = "渠道状态，0正常，1禁用")
    private Long tenantId;

}
