package com.aps.core.domain;
|
|
import com.aps.common.core.annotation.Excel;
|
import com.aps.common.core.web.domain.BaseEntity;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import java.util.Date;
|
|
/**
|
* 日历管理对象 aps_work_calendar
|
*
|
* @author hjy
|
* @date 2025-04-22
|
*/
|
public class ApsWorkCalendar extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** $column.columnComment */
|
private Long id;
|
|
/** 描述 */
|
@Excel(name = "描述")
|
private String description;
|
|
/** 类型,周工作/节假日 */
|
@Excel(name = "类型,周工作/节假日")
|
private String type;
|
|
/** 日历生效日期 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "日历生效日期", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date effectiveDate;
|
|
/** 失效日期 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "失效日期", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date expiringDate;
|
|
/** 日历内容 */
|
@Excel(name = "日历内容")
|
private Object content;
|
|
/** 适用工厂 */
|
@Excel(name = "适用工厂")
|
private String applicableFactory;
|
|
/** 适用车间 */
|
@Excel(name = "适用车间")
|
private String applicableWorkshop;
|
|
/** 适用工序 */
|
@Excel(name = "适用工序")
|
private String applicableProcess;
|
|
/** 节假日 */
|
private Object holidays;
|
|
/** 适用工厂/车间/工序数组 */
|
private Object applicable;
|
|
/** 适用工厂/车间/工序数组 回显 */
|
private String applicableTranslate;
|
|
public String getApplicableTranslate() {
|
return applicableTranslate;
|
}
|
|
public void setApplicableTranslate(String applicableTranslate) {
|
this.applicableTranslate = applicableTranslate;
|
}
|
|
public Object getHolidays() {
|
return holidays;
|
}
|
|
public void setHolidays(Object holidays) {
|
this.holidays = holidays;
|
}
|
|
public Object getApplicable() {
|
return applicable;
|
}
|
|
public void setApplicable(Object applicable) {
|
this.applicable = applicable;
|
}
|
|
public void setId(Long id)
|
{
|
this.id = id;
|
}
|
|
public Long getId()
|
{
|
return id;
|
}
|
|
public void setDescription(String description)
|
{
|
this.description = description;
|
}
|
|
public String getDescription()
|
{
|
return description;
|
}
|
|
public void setType(String type)
|
{
|
this.type = type;
|
}
|
|
public String getType()
|
{
|
return type;
|
}
|
|
public void setEffectiveDate(Date effectiveDate)
|
{
|
this.effectiveDate = effectiveDate;
|
}
|
|
public Date getEffectiveDate()
|
{
|
return effectiveDate;
|
}
|
|
public void setExpiringDate(Date expiringDate)
|
{
|
this.expiringDate = expiringDate;
|
}
|
|
public Date getExpiringDate()
|
{
|
return expiringDate;
|
}
|
|
public void setContent(Object content)
|
{
|
this.content = content;
|
}
|
|
public Object getContent()
|
{
|
return content;
|
}
|
|
public void setApplicableFactory(String applicableFactory)
|
{
|
this.applicableFactory = applicableFactory;
|
}
|
|
public String getApplicableFactory()
|
{
|
return applicableFactory;
|
}
|
|
public void setApplicableWorkshop(String applicableWorkshop)
|
{
|
this.applicableWorkshop = applicableWorkshop;
|
}
|
|
public String getApplicableWorkshop()
|
{
|
return applicableWorkshop;
|
}
|
|
public void setApplicableProcess(String applicableProcess)
|
{
|
this.applicableProcess = applicableProcess;
|
}
|
|
public String getApplicableProcess()
|
{
|
return applicableProcess;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("description", getDescription())
|
.append("type", getType())
|
.append("effectiveDate", getEffectiveDate())
|
.append("expiringDate", getExpiringDate())
|
.append("content", getContent())
|
.append("applicableFactory", getApplicableFactory())
|
.append("applicableWorkshop", getApplicableWorkshop())
|
.append("applicableProcess", getApplicableProcess())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.toString();
|
}
|
}
|