package com.ylcm.sys.domain;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 广告下拉分类表
 * </p>
 *
 * @author admin
 * @since 2020-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ad_select_type")
@ApiModel(value="AdSelectType对象", description="广告下拉分类表")
public class AdSelectType implements Serializable {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "类型名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "父级id")
    @TableField("parent")
    private Integer parent;

    @ApiModelProperty(value = "下拉类型 0:产品管理 / 栏目管理 1:电视剧管理")
    @TableField("type")
    private Integer type;

}
