package com.fizz.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 机组定义表
 * </p>
 *
 * @author baomidou
 * @since 2023-05-17
 */
@Getter
@Setter
@TableName("cpg_device_define")
@Schema(title = "CpgDeviceDefine对象", description = "机组定义表")
public class DeviceDefine implements Serializable {

    private static final long serialVersionUID = 1L;

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

    @Schema(description = "位置编号")
    private Integer posIdx;

    @Schema(description = "区域代码")
    private String positionArea;

    @Schema(description = "位置代码英文")
    private String positionNameEn;

    @Schema(description = "位置代码中文")
    private String positionNameCn;

    @Schema(description = "设备开始位置")
    private Double positionLengthStart;

    @Schema(description = "设备结束位置")
    private Double positionLengthEnd;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    private LocalDateTime updateTime;
}
