You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

186 lines
4.0 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.ruoyi.zhiyuanzhe.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
* 证书管理对象 b_certificates
*
* @author ruoyi
* @date 2023-09-19
*/
public class BCertificates extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 编号 */
private Long id;
/** 证书名称 */
@Excel(name = "证书名称")
private String name;
/** 证书类型0个性化证书 0一次性证书 */
@Excel(name = "证书类型", readConverterExp = "0=个性化证书,0=一次性证书")
private String type;
/** 证书封面 */
@Excel(name = "证书封面")
private String cover;
/** 证书内容 */
@Excel(name = "证书内容")
private String content;
/** 证书时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "证书时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date datetime;
/** 服务时长 */
@Excel(name = "服务时长")
private Long serviceDuration;
/** 创建者ID */
@Excel(name = "创建者ID")
private Long createId;
/** 更新者ID */
@Excel(name = "更新者ID")
private Long updateId;
/** 用户权限id */
@Excel(name = "用户权限id")
private Long userId;
/** 部门权限id */
@Excel(name = "部门权限id")
private Long deptId;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setName(String name)
{
this.name = name;
}
public String getName()
{
return name;
}
public void setType(String type)
{
this.type = type;
}
public String getType()
{
return type;
}
public void setCover(String cover)
{
this.cover = cover;
}
public String getCover()
{
return cover;
}
public void setContent(String content)
{
this.content = content;
}
public String getContent()
{
return content;
}
public void setDatetime(Date datetime)
{
this.datetime = datetime;
}
public Date getDatetime()
{
return datetime;
}
public void setServiceDuration(Long serviceDuration)
{
this.serviceDuration = serviceDuration;
}
public Long getServiceDuration()
{
return serviceDuration;
}
public void setCreateId(Long createId)
{
this.createId = createId;
}
public Long getCreateId()
{
return createId;
}
public void setUpdateId(Long updateId)
{
this.updateId = updateId;
}
public Long getUpdateId()
{
return updateId;
}
public void setUserId(Long userId)
{
this.userId = userId;
}
public Long getUserId()
{
return userId;
}
public void setDeptId(Long deptId)
{
this.deptId = deptId;
}
public Long getDeptId()
{
return deptId;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("name", getName())
.append("type", getType())
.append("cover", getCover())
.append("content", getContent())
.append("datetime", getDatetime())
.append("serviceDuration", getServiceDuration())
.append("createId", getCreateId())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateId", getUpdateId())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.append("userId", getUserId())
.append("deptId", getDeptId())
.toString();
}
}