package com.ycl.entity;
|
|
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import java.io.Serializable;
|
import java.sql.Date;
|
|
/**
|
* 值班表(NewsDuty)表实体类
|
*
|
* @author makejava
|
* @since 2022-11-17 11:38:27
|
*/
|
@SuppressWarnings("serial")
|
public class NewsDuty extends Model<NewsDuty> {
|
@ApiModelProperty("主键")
|
private Integer id;
|
//值班人姓名
|
@ApiModelProperty("值班人")
|
private String name;
|
//值班内容
|
@ApiModelProperty("值班内容")
|
private String jobTitle;
|
//创建时间
|
@ApiModelProperty("创建时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date createTime;
|
//值班时间
|
@ApiModelProperty("值班日期")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date dutyTime;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getJobTitle() {
|
return jobTitle;
|
}
|
|
public void setJobTitle(String jobTitle) {
|
this.jobTitle = jobTitle;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Date getDutyTime() {
|
return dutyTime;
|
}
|
|
public void setDutyTime(Date dutyTime) {
|
this.dutyTime = dutyTime;
|
}
|
|
/**
|
* 获取主键值
|
*
|
* @return 主键值
|
*/
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
}
|
|