forked from dyf/fys-Multi-tenant
出厂日期
This commit is contained in:
@ -1,9 +1,6 @@
|
|||||||
package com.fuyuanshen.equipment.domain;
|
package com.fuyuanshen.equipment.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.*;
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||||
import com.fuyuanshen.common.tenant.core.TenantEntity;
|
import com.fuyuanshen.common.tenant.core.TenantEntity;
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
@ -32,6 +29,13 @@ public class Device extends TenantEntity {
|
|||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private Long assignId;
|
private Long assignId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备分组
|
||||||
|
* group_id
|
||||||
|
*/
|
||||||
|
@Schema(name = "设备分组")
|
||||||
|
private Long groupId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* device_type
|
* device_type
|
||||||
*/
|
*/
|
||||||
@ -143,4 +147,11 @@ public class Device extends TenantEntity {
|
|||||||
*/
|
*/
|
||||||
private String subTopic;
|
private String subTopic;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 出厂日期
|
||||||
|
* production_date
|
||||||
|
*/
|
||||||
|
@Schema(name = "出厂日期")
|
||||||
|
private Date productionDate;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user