|
@@ -1,5 +1,6 @@
|
|
|
package com.ktg.common.core.domain.model;
|
|
package com.ktg.common.core.domain.model;
|
|
|
|
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.FieldFill;
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
@@ -22,6 +23,7 @@ public class BaseBean implements Serializable
|
|
|
private static final long serialVersionUID = 1L;
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
@Schema(description = "创建人")
|
|
@Schema(description = "创建人")
|
|
|
|
|
+ @TableField(fill = FieldFill.INSERT)
|
|
|
private String createBy;
|
|
private String createBy;
|
|
|
|
|
|
|
|
@JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@@ -30,6 +32,7 @@ public class BaseBean implements Serializable
|
|
|
|
|
|
|
|
/** 更新者 */
|
|
/** 更新者 */
|
|
|
@Schema(description = "更新者")
|
|
@Schema(description = "更新者")
|
|
|
|
|
+ @TableField(fill = FieldFill.INSERT_UPDATE)
|
|
|
private String updateBy;
|
|
private String updateBy;
|
|
|
|
|
|
|
|
/** 更新时间 */
|
|
/** 更新时间 */
|