package com.gkhy.system.domain;
|
|
import java.util.Date;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
import com.rchuing.sis.common.annotation.Excel;
|
import com.rchuing.sis.common.core.domain.BaseEntity;
|
|
/**
|
* 开启申请记录对象 apply_record
|
*
|
* @author expert
|
* @date 2024-11-13
|
*/
|
@TableName(resultMap = "com.gkhy.system.mapper.ApplyRecordMapper.ApplyRecordResult")
|
public class ApplyRecord extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** $column.columnComment */
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/** 开始时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date startTime;
|
|
/** 结束时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date endTime;
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
public void setStartTime(Date startTime) {
|
this.startTime = startTime;
|
}
|
|
public Date getStartTime() {
|
return startTime;
|
}
|
public void setEndTime(Date endTime) {
|
this.endTime = endTime;
|
}
|
|
public Date getEndTime() {
|
return endTime;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("startTime", getStartTime())
|
.append("endTime", getEndTime())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.toString();
|
}
|
}
|