package com.fdkankan.platform.agent.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;

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

/**
 * <p>
 * 代理商架构管理
 * </p>
 *
 * @author 
 * @since 2021-12-24
 */
@Getter
@Setter
@TableName("t_agent_framework")
public class AgentFramework implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 上级架构id
     */
    @TableField("parent_id")
    private Long parentId;

    /**
     * 代理商名称
     */
    @TableField("agent_name")
    private String agentName;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    /**
     * 0正常，1删除
     */
   @TableField("tb_status")
    @TableLogic(value="0",delval = "1")
    private Integer tbStatus;


}
