package com.gxwebsoft.tower.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * 检查/保养部位配置表
 *
 * @author 科技小王子
 * @since 2023-06-08 17:22:55
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TowerProjectPlace对象", description = "检查/保养部位配置表")
public class TowerProjectPlace implements Serializable {
    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "项目ID")
    private Integer projectId;

    @ApiModelProperty(value = "部位ID")
    private Integer placeId;

    @ApiModelProperty(value = "排序号")
    private Integer sortNumber;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "部位编码")
    @TableField(exist = false)
    private String placeCode;

    @ApiModelProperty(value = "设备名称")
    @TableField(exist = false)
    private String equipmentType;

    @ApiModelProperty(value = "检查部位")
    @TableField(exist = false)
    private String name;

    @ApiModelProperty(value = "部位类型")
    @TableField(exist = false)
    private String type;
}
