package com.xinda.iot.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinda.common.annotation.Excel;
import com.xinda.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 产品型号对象 iot_device_model
 *
 * @author kerwincui
 * @date 2025-01-20
 */
@ApiModel(value = "DeviceModel",description = "产品型号 iot_device_model")
@Data
@EqualsAndHashCode(callSuper = true)
public class DeviceModel extends BaseEntity
        {
private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 产品型号 */
            @Excel(name = "产品型号")
            @ApiModelProperty("产品型号")
    private String productModel;

    /** 显示顺序 */
            @Excel(name = "显示顺序")
            @ApiModelProperty("显示顺序")
    private Long displayOrder;

    /** 创建时间 */
            @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
            @ApiModelProperty("创建时间")
    private Date createdAt;

    /** 备注 */
            @Excel(name = "备注")
            @ApiModelProperty("备注")
    private String remarks;

}
