|
@@ -0,0 +1,142 @@
|
|
|
+package org.jeecg.modules.oa.entity;
|
|
|
+
|
|
|
+import java.io.Serializable;
|
|
|
+import java.io.UnsupportedEncodingException;
|
|
|
+import java.util.Date;
|
|
|
+import java.math.BigDecimal;
|
|
|
+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 org.springframework.format.annotation.DateTimeFormat;
|
|
|
+import org.jeecgframework.poi.excel.annotation.Excel;
|
|
|
+import org.jeecg.common.aspect.annotation.Dict;
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
+import lombok.experimental.Accessors;
|
|
|
+
|
|
|
+
|
|
|
+ * @Description: 新增资产
|
|
|
+ * @Author: jeecg-boot
|
|
|
+ * @Date: 2022-10-21
|
|
|
+ * @Version: V1.0
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@TableName("add_assets")
|
|
|
+@Accessors(chain = true)
|
|
|
+@EqualsAndHashCode(callSuper = false)
|
|
|
+@ApiModel(value="add_assets对象", description="新增资产")
|
|
|
+public class Assets implements Serializable {
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+
|
|
|
+ @TableId(type = IdType.ID_WORKER_STR)
|
|
|
+ @ApiModelProperty(value = "主键")
|
|
|
+ private java.lang.String id;
|
|
|
+
|
|
|
+ @Excel(name = "创建人", width = 15)
|
|
|
+ @ApiModelProperty(value = "创建人")
|
|
|
+ private java.lang.String createBy;
|
|
|
+
|
|
|
+ @Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
|
|
+ @ApiModelProperty(value = "创建日期")
|
|
|
+ private java.util.Date createTime;
|
|
|
+
|
|
|
+ @Excel(name = "更新人", width = 15)
|
|
|
+ @ApiModelProperty(value = "更新人")
|
|
|
+ private java.lang.String updateBy;
|
|
|
+
|
|
|
+ @Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
|
|
+ @ApiModelProperty(value = "更新日期")
|
|
|
+ private java.util.Date updateTime;
|
|
|
+
|
|
|
+ @Excel(name = "所属部门", width = 15)
|
|
|
+ @ApiModelProperty(value = "所属部门")
|
|
|
+ private java.lang.String sysOrgCode;
|
|
|
+
|
|
|
+ @Excel(name = "入库单号", width = 15)
|
|
|
+ @ApiModelProperty(value = "入库单号")
|
|
|
+ private java.lang.String inputOrderid;
|
|
|
+
|
|
|
+ @Excel(name = "资产类别", width = 15, dicCode = "assets_category")
|
|
|
+ @Dict(dicCode = "assets_category")
|
|
|
+ @ApiModelProperty(value = "资产类别")
|
|
|
+ private java.lang.String assetsCategory;
|
|
|
+
|
|
|
+ @Excel(name = "资产编号", width = 15)
|
|
|
+ @ApiModelProperty(value = "资产编号")
|
|
|
+ private java.lang.String assetNumber;
|
|
|
+
|
|
|
+ @Excel(name = "资产名称", width = 15)
|
|
|
+ @ApiModelProperty(value = "资产名称")
|
|
|
+ private java.lang.String assetName;
|
|
|
+
|
|
|
+ @Excel(name = "规格型号", width = 15)
|
|
|
+ @ApiModelProperty(value = "规格型号")
|
|
|
+ private java.lang.String specificationsModels;
|
|
|
+
|
|
|
+ @Excel(name = "品牌", width = 15)
|
|
|
+ @ApiModelProperty(value = "品牌")
|
|
|
+ private java.lang.String brand;
|
|
|
+
|
|
|
+ @Excel(name = "单位", width = 15)
|
|
|
+ @ApiModelProperty(value = "单位")
|
|
|
+ private java.lang.String unit;
|
|
|
+
|
|
|
+ @Excel(name = "价值(元)", width = 15)
|
|
|
+ @ApiModelProperty(value = "价值(元)")
|
|
|
+ private java.lang.String unitPrice;
|
|
|
+
|
|
|
+ @Excel(name = "购置日期", width = 15)
|
|
|
+ @ApiModelProperty(value = "购置日期")
|
|
|
+ private java.lang.String acquisitionDate;
|
|
|
+
|
|
|
+ @Excel(name = "厂商", width = 15)
|
|
|
+ @ApiModelProperty(value = "厂商")
|
|
|
+ private java.lang.String manufacturer;
|
|
|
+
|
|
|
+ @Excel(name = "使用部门", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
|
|
|
+ @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
|
|
|
+ @ApiModelProperty(value = "使用部门")
|
|
|
+ private java.lang.String useDepartment;
|
|
|
+
|
|
|
+ @Excel(name = "入库时间", width = 15)
|
|
|
+ @ApiModelProperty(value = "入库时间")
|
|
|
+ private java.lang.String inputDate;
|
|
|
+
|
|
|
+ @Excel(name = "采购人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
|
|
|
+ @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
|
|
|
+ @ApiModelProperty(value = "采购人")
|
|
|
+ private java.lang.String purchasingStaff;
|
|
|
+
|
|
|
+ @Excel(name = "验收人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
|
|
|
+ @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
|
|
|
+ @ApiModelProperty(value = "验收人")
|
|
|
+ private java.lang.String acceptPersonnel;
|
|
|
+
|
|
|
+ @Excel(name = "其他说明", width = 15)
|
|
|
+ @ApiModelProperty(value = "其他说明")
|
|
|
+ private java.lang.String otherDescription;
|
|
|
+
|
|
|
+ @Excel(name = "采购单号", width = 15)
|
|
|
+ @ApiModelProperty(value = "采购单号")
|
|
|
+ private java.lang.String buyid;
|
|
|
+
|
|
|
+ @Excel(name = "资产状态", width = 15)
|
|
|
+ @ApiModelProperty(value = "资产状态")
|
|
|
+ private java.lang.String assetState;
|
|
|
+
|
|
|
+ @Excel(name = "附件", width = 15)
|
|
|
+ @ApiModelProperty(value = "附件")
|
|
|
+ private java.lang.String accessory;
|
|
|
+
|
|
|
+ @Excel(name = "报错字段(表单没有该字段)", width = 15)
|
|
|
+ @ApiModelProperty(value = "报错字段(表单没有该字段)")
|
|
|
+ private java.lang.String isLeaders;
|
|
|
+}
|