package com.ho.business.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ho.common.tools.constant.CommonConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author fancl
 * @desc: 设备类型配置
 * @date 2023/3/18
 */
@Data
public class DeviceTypeConfig {

    @ApiModelProperty(value = "id")
    Integer id;

    @ApiModelProperty(value = "集团id")
    Integer groupId;

    @ApiModelProperty(value = "电站id")
    Integer stationId;

    @ApiModelProperty(value = "电站名称")
    String stationName;

    @ApiModelProperty(value = "1集团级 2电站级")
    Integer scope;

    @ApiModelProperty(value = "设备类型")
    String deviceType;

    @ApiModelProperty(value = "设备类型名称")
    String name;

    @ApiModelProperty(value = "模型名称,用于和超级表关联")
    String modelName;

    @ApiModelProperty(value = "删除标识 1未删除  0已删除" ,hidden = true)
    Integer deleted;

    @ApiModelProperty(value = "创建人")
    String creator;

    @JsonFormat(pattern=CommonConstant.DATE)
    @ApiModelProperty(value = "创建时间")
    Date createTime;

    @JsonFormat(pattern= CommonConstant.DATE)
    @ApiModelProperty(value = "修改时间")
    Date updateTime;

    @ApiModelProperty(value = "设备类型名称(英文)")
    String nameEn;
}
