package com.sptg.third.api.entity.topsailiot;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Getter;
import lombok.Setter;

/**
 * @author zwx
 * @create 2020/12/5 19:19
 */
@Setter
@Getter
@TableName(value = "topsail_project")
public class TopsailProject {

    @TableId(value = "l_id", type = IdType.AUTO)
    private Long id;
    //公司下项目名称
    @TableField(value = "s_name")
    private String name;
    //描述
    @TableField(value = "s_descr")
    private String descr;
    //用户id
    @TableField(value = "i_user_id")
    private Integer user_id;
    //项目id
    @TableField(value = "i_project_id")
    private Integer project_id;
    //设备数量
    @TableField(value = "i_device_count")
    private Integer device_count;

}
