|
|
@@ -1,4 +1,4 @@
|
|
|
-package com.kxs.product.api.model;
|
|
|
+package <<ym.projectService.packageName>>.api.model;
|
|
|
|
|
|
import java.io.Serial;
|
|
|
import java.io.Serializable;
|
|
|
@@ -14,30 +14,30 @@ import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Data;
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
-
|
|
|
/**
|
|
|
- * 客小爽机具表(KxsMachine)表实体类
|
|
|
+ * <<ym:databaseTable.tableTitle>>(<<ym:databaseTable.tableNameUpper>>)表实体类
|
|
|
*
|
|
|
- * @author 系统
|
|
|
- * @since 2023-12-20 10:09:35
|
|
|
+ * @author <<ym:author>>
|
|
|
+ * @since <<ym:since>>
|
|
|
*/
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
@Data
|
|
|
-public class KxsMachine extends Model<KxsMachine> implements Serializable {
|
|
|
+public class <<ym:databaseTable.tableNameUpper>> extends Model<<<ym:databaseTable.tableNameUpper>>> implements Serializable {
|
|
|
|
|
|
@Serial
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
|
-
|
|
|
+ <<ym-loop:DatabaseFields>>
|
|
|
/**
|
|
|
- * 主键ID
|
|
|
+ * <<fieldTitle>>
|
|
|
*/
|
|
|
- @Schema(description = "主键ID")
|
|
|
+ @Schema(description = "<<fieldTitle>>")
|
|
|
@TableId(type = IdType.AUTO)
|
|
|
- private Integer id;
|
|
|
+ private <<ym-if:<<fieldType>>="int">>Integer<</ym-if>><<ym-if:<<fieldType>>="bigint">>Long<</ym-if>><<ym-if:<<fieldType>>="datetime">>LocalDateTime<</ym-if>><<ym-if:<<fieldType>>="bit">>Boolean<</ym-if>><<ym-if:<<fieldType>>="bit">>Boolean<</ym-if>> <<fieldNameUpper>>;
|
|
|
|
|
|
|
|
|
+ <</ym-loop:DatabaseFields>>
|
|
|
/**
|
|
|
* 新增时间
|
|
|
*/
|