exam工程演示代码提交

main
liuyiliang 4 months ago
parent fd366b2f1e
commit f6ad461117
  1. 77
      ccic-entity/src/main/java/com/ccic/safeliab/entity/InsDemo.java
  2. 2
      ccic-exam/pom.xml

@ -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;
}

@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>ccic-emam</artifactId> <artifactId>ccic-exam</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<parent> <parent>

Loading…
Cancel
Save