package com.yuchen.saas.park.api.entity.elevator;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: baichaojie
 * @CreateTime: 2024/06/27 14:28
 * @Description: TODO
 * @Version: 1.0
 */
@Data
public class PropertyDevices {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "deviceId", value = "设备ID")
    private Long deviceId;
    @ApiModelProperty(name = "deviceName", value = "单元名称")
    private String deviceName;


    /**
     * 使用类型
     */
    @ApiModelProperty(name = "useType", value = "使用类型(0表示限制到住户所在楼层、1表示限制到住户所在楼栋/电梯)")
    private Integer useType;
    /**
     * 是否启用
     */
    @ApiModelProperty(name = "isEnabled", value = "是否启用")
    private Boolean isEnabled;



    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}