package org.jeecg.ctop.finance.settlement.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;

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

/**
 * 财务结算 账户信息
 * zian Y
 * 2021/7/28
 **/

@Data
public class CtopCwjsSettlementInfo implements Serializable {

    @TableId(type = IdType.AUTO)
    /**
     * 主键id
     */
    //@TableField(exist = false)
    private Long id;

    /**
     * 广告主公司id
     */
    //@Dict(dicCode = "id", dictTable = "ctop_advertiser", dicText = "name")
    private String advertiserId;
    @TableField(exist = false)
    private String advertiserName;

    /**
     * 产品id
     */
    private String productId;
    @TableField(exist = false)
    private String productName;

    /**
     * 项目id
     */
    private String projectId;
    @TableField(exist = false)
    private String projectName;

    /**
     * 媒体类型 1-头条 2-快手 3-头条内广 4-快手内广
     */
    private Integer mediaId;

    /**
     * 运营方式 1-自运营 2-代运营
     */
    private Integer operateType;

    /**
     * 账户id
     */
    private String accountId;

    /**
     * 账户名称
     */
    private String accountName;

    /**
     * 快手id
     */
    private String kuaiShouId;

    /**
     * 账户状态 0-开 1-关
     */
    private Integer status;

    /**
     * 删除状态（0，正常，1已删除）
     */
    private Integer delFlag;

    /**
     * 创建人id
     */
    private String createUserId;
    @TableField(exist = false)
    private String createUserName;

    /**
     * 创建时间
     */
    private Date createTime;
    @TableField(exist = false)
    private String startTime;
    @TableField(exist = false)
    private String endTime;

    /**
     * 更新时间
     */
    @TableField(exist = false)
    private Date updateTime;


    @TableField(exist = false)
    private Set<String> userIds;

}