初始化项目
This commit is contained in:
@@ -2,6 +2,7 @@ package com.jeesite.modules.biz.entity;
|
|||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
import com.jeesite.common.mybatis.annotation.JoinTable;
|
import com.jeesite.common.mybatis.annotation.JoinTable;
|
||||||
import com.jeesite.common.mybatis.annotation.JoinTable.Type;
|
import com.jeesite.common.mybatis.annotation.JoinTable.Type;
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
@@ -22,53 +23,54 @@ import java.io.Serial;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 网站信息 Entity
|
* 网站信息 Entity
|
||||||
|
*
|
||||||
* @author gaoxq
|
* @author gaoxq
|
||||||
* @version 2026-03-19
|
* @version 2026-03-19
|
||||||
*/
|
*/
|
||||||
@EqualsAndHashCode(callSuper = true)
|
@EqualsAndHashCode(callSuper = true)
|
||||||
@Table(name="my_website_storage", alias="a", label="网站信息", columns={
|
@Table(name = "my_website_storage", alias = "a", label = "网站信息", columns = {
|
||||||
@Column(name="create_time", attrName="createTime", label="记录日期", isUpdate=false, isQuery=false, isUpdateForce=true),
|
@Column(name = "create_time", attrName = "createTime", label = "记录日期", isUpdate = false, isQuery = false, isUpdateForce = true),
|
||||||
@Column(name="website_id", attrName="websiteId", label="网站标识", isPK=true),
|
@Column(name = "website_id", attrName = "websiteId", label = "网站标识", isPK = true),
|
||||||
@Column(name="website_url", attrName="websiteUrl", label="网站地址", queryType=QueryType.LIKE),
|
@Column(name = "website_url", attrName = "websiteUrl", label = "网站地址", queryType = QueryType.LIKE),
|
||||||
@Column(name="website_name", attrName="websiteName", label="网站名称", queryType=QueryType.LIKE),
|
@Column(name = "website_name", attrName = "websiteName", label = "网站名称", queryType = QueryType.LIKE),
|
||||||
@Column(name="web_account", attrName="webAccount", label="登录账号", isQuery=false),
|
@Column(name = "web_account", attrName = "webAccount", label = "登录账号", isQuery = false),
|
||||||
@Column(name="web_password", attrName="webPassword", label="登录密码", isQuery=false),
|
@Column(name = "web_password", attrName = "webPassword", label = "登录密码", isQuery = false),
|
||||||
@Column(name="remarks", attrName="remarks", label="说明事项", isQuery=false),
|
@Column(name = "remarks", attrName = "remarks", label = "说明事项", isQuery = false),
|
||||||
@Column(name="login_user", attrName="loginUser", label="所属账户", isQuery=false),
|
@Column(name = "login_user", attrName = "loginUser", label = "所属账户", isUpdate = false, isQuery = false, isUpdateForce = true),
|
||||||
@Column(name="ustatus", attrName="ustatus", label="状态"),
|
@Column(name = "ustatus", attrName = "ustatus", label = "状态"),
|
||||||
}, orderBy="a.create_time DESC"
|
}, orderBy = "a.create_time DESC"
|
||||||
)
|
)
|
||||||
@Data
|
@Data
|
||||||
public class MyWebsiteStorage extends DataEntity<MyWebsiteStorage> implements Serializable {
|
public class MyWebsiteStorage extends DataEntity<MyWebsiteStorage> implements Serializable {
|
||||||
|
|
||||||
@Serial
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
private Date createTime; // 记录日期
|
|
||||||
private String websiteId; // 网站标识
|
|
||||||
private String websiteUrl; // 网站地址
|
|
||||||
private String websiteName; // 网站名称
|
|
||||||
private String webAccount; // 登录账号
|
|
||||||
private String webPassword; // 登录密码
|
|
||||||
private String loginUser; // 所属账户
|
|
||||||
private String ustatus; // 状态
|
|
||||||
|
|
||||||
@ExcelFields({
|
@Serial
|
||||||
@ExcelField(title="记录日期", attrName="createTime", align=Align.CENTER, sort=10, dataFormat="yyyy-MM-dd hh:mm"),
|
private static final long serialVersionUID = 1L;
|
||||||
@ExcelField(title="网站标识", attrName="websiteId", align=Align.CENTER, sort=20),
|
private Date createTime; // 记录日期
|
||||||
@ExcelField(title="网站地址", attrName="websiteUrl", align=Align.CENTER, sort=30),
|
private String websiteId; // 网站标识
|
||||||
@ExcelField(title="网站名称", attrName="websiteName", align=Align.CENTER, sort=40),
|
private String websiteUrl; // 网站地址
|
||||||
@ExcelField(title="登录账号", attrName="webAccount", align=Align.CENTER, sort=50),
|
private String websiteName; // 网站名称
|
||||||
@ExcelField(title="登录密码", attrName="webPassword", align=Align.CENTER, sort=60),
|
private String webAccount; // 登录账号
|
||||||
@ExcelField(title="说明事项", attrName="remarks", align=Align.CENTER, sort=70),
|
private String webPassword; // 登录密码
|
||||||
@ExcelField(title="所属账户", attrName="loginUser", align=Align.CENTER, sort=80),
|
private String loginUser; // 所属账户
|
||||||
@ExcelField(title="状态", attrName="ustatus", dictType="sys_status", align=Align.CENTER, sort=90),
|
private String ustatus; // 状态
|
||||||
})
|
|
||||||
public MyWebsiteStorage() {
|
@ExcelFields({
|
||||||
this(null);
|
@ExcelField(title = "记录日期", attrName = "createTime", align = Align.CENTER, sort = 10, dataFormat = "yyyy-MM-dd hh:mm"),
|
||||||
}
|
@ExcelField(title = "网站标识", attrName = "websiteId", align = Align.CENTER, sort = 20),
|
||||||
|
@ExcelField(title = "网站地址", attrName = "websiteUrl", align = Align.CENTER, sort = 30),
|
||||||
public MyWebsiteStorage(String id){
|
@ExcelField(title = "网站名称", attrName = "websiteName", align = Align.CENTER, sort = 40),
|
||||||
super(id);
|
@ExcelField(title = "登录账号", attrName = "webAccount", align = Align.CENTER, sort = 50),
|
||||||
}
|
@ExcelField(title = "登录密码", attrName = "webPassword", align = Align.CENTER, sort = 60),
|
||||||
|
@ExcelField(title = "说明事项", attrName = "remarks", align = Align.CENTER, sort = 70),
|
||||||
|
@ExcelField(title = "所属账户", attrName = "loginUser", align = Align.CENTER, sort = 80),
|
||||||
|
@ExcelField(title = "状态", attrName = "ustatus", dictType = "sys_status", align = Align.CENTER, sort = 90),
|
||||||
|
})
|
||||||
|
public MyWebsiteStorage() {
|
||||||
|
this(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyWebsiteStorage(String id) {
|
||||||
|
super(id);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user