实体类字段注释;
This commit is contained in:
+4
@@ -180,10 +180,12 @@ public class MaterialInventory extends BaseVOEntity {
|
|||||||
|
|
||||||
@ApiModelProperty("扩展字段1")
|
@ApiModelProperty("扩展字段1")
|
||||||
@Excel(name = "扩展字段1")
|
@Excel(name = "扩展字段1")
|
||||||
|
@TableField("ext_attr_1")
|
||||||
private String extAttr1;
|
private String extAttr1;
|
||||||
|
|
||||||
@ApiModelProperty("扩展字段2")
|
@ApiModelProperty("扩展字段2")
|
||||||
@Excel(name = "扩展字段2")
|
@Excel(name = "扩展字段2")
|
||||||
|
@TableField("ext_attr_2")
|
||||||
private String extAttr2;
|
private String extAttr2;
|
||||||
|
|
||||||
@ApiModelProperty("生产日期")
|
@ApiModelProperty("生产日期")
|
||||||
@@ -208,11 +210,13 @@ public class MaterialInventory extends BaseVOEntity {
|
|||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@Excel(name = "ExtAttr3", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "ExtAttr3", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@TableField("ext_attr_3")
|
||||||
private Date extAttr3;
|
private Date extAttr3;
|
||||||
|
|
||||||
@ApiModelProperty("ExtAttr4")
|
@ApiModelProperty("ExtAttr4")
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@Excel(name = "ExtAttr4", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "ExtAttr4", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@TableField("ext_attr_4")
|
||||||
private Date extAttr4;
|
private Date extAttr4;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user