package com.doumee.dao.business.model; import com.doumee.core.annotation.excel.ExcelColumn; import com.doumee.core.model.LoginUserModel; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import com.fasterxml.jackson.annotation.JsonFormat; import java.util.Date; /** * 运维设备运维记录表 * @author 江蹄蹄 * @date 2024/11/19 16:07 */ @Data @ApiModel("运维设备运维记录表") @TableName("`yw_device_record`") public class YwDeviceRecord extends LoginUserModel { @TableId(type = IdType.AUTO) @ApiModelProperty(value = "主键", example = "1") @ExcelColumn(name="主键") private Integer id; @ApiModelProperty(value = "创建人编码", example = "1") @ExcelColumn(name="创建人编码") private Integer creator; @ApiModelProperty(value = "创建时间") @ExcelColumn(name="创建时间") @JsonFormat(pattern = "yyyy-MM-dd") private Date createDate; @ApiModelProperty(value = "更新人编码", example = "1") @ExcelColumn(name="更新人编码") private Integer editor; @ApiModelProperty(value = "更新时间") @ExcelColumn(name="更新时间") @JsonFormat(pattern = "yyyy-MM-dd") private Date editDate; @ApiModelProperty(value = "是否删除0否 1是", example = "1") @ExcelColumn(name="是否删除0否 1是") private Integer isdeleted; @ApiModelProperty(value = "备注") @ExcelColumn(name="备注") private String remark; @ApiModelProperty(value = "状态 0正常 1损坏 2报废", example = "1") @ExcelColumn(name="状态 0正常 1损坏 2报废") private Integer status; @ApiModelProperty(value = "设备型号", example = "1") @ExcelColumn(name="设备型号") private Integer modelNo; @ApiModelProperty(value = "设备类编码(管理yw_device)", example = "1") @ExcelColumn(name="设备类编码(管理yw_device)") private Integer deviceId; @ApiModelProperty(value = "运维人员编码编码(关联system_user)", example = "1") @ExcelColumn(name="运维人员编码编码(关联system_user)") private Integer userId; @ApiModelProperty(value = "供应商") @ExcelColumn(name="供应商") @JsonFormat(pattern = "yyyy-MM-dd") private Date company; @ApiModelProperty(value = "情况说明") @ExcelColumn(name="情况说明") private String content; @ApiModelProperty(value = "运维时间") @ExcelColumn(name="运维时间") @JsonFormat(pattern = "yyyy-MM-dd") private Date dealDate; }