parent
fd366b2f1e
commit
f6ad461117
2 changed files with 78 additions and 1 deletions
@ -0,0 +1,77 @@ |
|||||||
|
package com.ccic.safeliab.entity; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.*; |
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||||
|
import lombok.Data; |
||||||
|
import lombok.EqualsAndHashCode; |
||||||
|
import lombok.experimental.Accessors; |
||||||
|
|
||||||
|
import java.io.Serializable; |
||||||
|
import java.util.Date; |
||||||
|
|
||||||
|
/** |
||||||
|
* <p> |
||||||
|
* 演示 |
||||||
|
* </p> |
||||||
|
* |
||||||
|
* @author testjava |
||||||
|
* @since 2022-11-05 |
||||||
|
*/ |
||||||
|
@Data |
||||||
|
@EqualsAndHashCode(callSuper = false) |
||||||
|
@Accessors(chain = true) |
||||||
|
@TableName("ins_demo") |
||||||
|
public class InsDemo implements Serializable { |
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L; |
||||||
|
|
||||||
|
@TableId(value = "id", type = IdType.NONE) |
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING) |
||||||
|
private Long id; |
||||||
|
|
||||||
|
/** |
||||||
|
* 编码 |
||||||
|
*/ |
||||||
|
private String code; |
||||||
|
|
||||||
|
/** |
||||||
|
* 名称 |
||||||
|
*/ |
||||||
|
private String name; |
||||||
|
|
||||||
|
/** |
||||||
|
* 創建人ID |
||||||
|
*/ |
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING) |
||||||
|
@TableField(fill = FieldFill.INSERT) |
||||||
|
private Long createUser; |
||||||
|
|
||||||
|
/** |
||||||
|
* 修改人ID |
||||||
|
*/ |
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING) |
||||||
|
@TableField(fill = FieldFill.INSERT) |
||||||
|
private Long updateUser; |
||||||
|
|
||||||
|
/** |
||||||
|
* 创建时间 |
||||||
|
*/ |
||||||
|
@TableField(fill = FieldFill.INSERT) |
||||||
|
private Date createTime; |
||||||
|
|
||||||
|
/** |
||||||
|
* 修改时间 |
||||||
|
*/ |
||||||
|
@TableField(fill = FieldFill.INSERT_UPDATE) |
||||||
|
private Date updateTime; |
||||||
|
|
||||||
|
/** |
||||||
|
* 状态 |
||||||
|
*/ |
||||||
|
private int status; |
||||||
|
|
||||||
|
/** |
||||||
|
* 删除标识 |
||||||
|
*/ |
||||||
|
private int isDeleted; |
||||||
|
} |
Loading…
Reference in new issue