package com.ruoyi.monitoring.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import org.noear.solon.validation.annotation.NotNull;

import java.util.Date;

@Data
@Table(value = "Channel")
public class CmcChannel {
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    @Id
    private Long Id;

    /** 传感器编号 */
    @Excel(name = "传感器编号")
    @NotNull(message = "传感器编号不能为空")
    private Long SensorNo;

    /** 传感器位置 */
    @Excel(name = "传感器位置")
    private String Info;

    /** Ver */
    @Excel(name = "Ver")
    private Integer Ver;

    /** Sn */
    @Excel(name = "Sn")
    private String Sn;

    /** Ca */
    @Excel(name = "Ca")
    private Integer Ca;

    /** Cb */
    @Excel(name = "Cb")
    private Integer Cb;

    /** 单位 */
    @Excel(name = "单位")
    private String Units;

    /** 单位 */
    @Excel(name = "单位")
    private Date LastDT;

}
