package com.usky.ems.service.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

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

/**
 * 属性点位列表项（基础建模右侧面板）
 * 对应 leo.ems_device_function
 */
@Data
public class EmsAttributePointVO {
    private Long id;
    private Long productId;
    private Long productTemplateId;
    private String deviceId;
    private String identifier;
    private String name;
    private String value;
    private LocalDateTime acqTime;
    private BigDecimal ratio;
    private Integer preservable;
    private Integer bindingAcq;
    private Long updatedBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    private Long createdBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}