package com.aps.core.domain;
|
|
import java.util.Date;
|
|
import com.aps.common.core.web.domain.BaseEntity;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
import com.aps.common.core.annotation.Excel;
|
import org.springframework.data.annotation.Id;
|
|
/**
|
* 计划排产周期管理对象 aps_plan_cycle
|
*
|
* @author ruoyi
|
* @date 2025-05-13
|
*/
|
@TableName("aps_plan_cycle")
|
@Schema(description = "计划排产周期管理实体类")
|
@Data
|
public class ApsPlanCycle extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
|
@Id
|
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
private Long id;
|
|
/** 周期类型 日/月 */
|
@Excel(name = "周期类型 日/月")
|
@Schema(description = "周期类型 日/月")
|
private String type;
|
|
/** 滚动方式 */
|
@Excel(name = "滚动方式")
|
@Schema(description = "滚动方式")
|
private String rollType;
|
|
/** 计划周期 */
|
@Excel(name = "计划周期")
|
@Schema(description = "计划周期")
|
private String period;
|
|
/** 周期开始 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "周期开始", width = 30, dateFormat = "yyyy-MM-dd")
|
@Schema(description = "周期开始")
|
private Date periodStart;
|
|
/** 周期结束 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "周期结束", width = 30, dateFormat = "yyyy-MM-dd")
|
@Schema(description = "周期结束")
|
private Date periodEnd;
|
|
/** 计划ID */
|
@Excel(name = "计划ID")
|
@Schema(description = "计划ID")
|
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
private Long planId;
|
|
public void setType(String type)
|
{
|
this.type = type;
|
}
|
|
public String getType()
|
{
|
return type;
|
}
|
|
public void setRollType(String rollType)
|
{
|
this.rollType = rollType;
|
}
|
|
public String getRollType()
|
{
|
return rollType;
|
}
|
|
public void setPeriod(String period)
|
{
|
this.period = period;
|
}
|
|
public String getPeriod()
|
{
|
return period;
|
}
|
|
public void setPeriodStart(Date periodStart)
|
{
|
this.periodStart = periodStart;
|
}
|
|
public Date getPeriodStart()
|
{
|
return periodStart;
|
}
|
|
public void setPeriodEnd(Date periodEnd)
|
{
|
this.periodEnd = periodEnd;
|
}
|
|
public Date getPeriodEnd()
|
{
|
return periodEnd;
|
}
|
|
public void setPlanId(Long planId)
|
{
|
this.planId = planId;
|
}
|
|
public Long getPlanId()
|
{
|
return planId;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("type", getType())
|
.append("rollType", getRollType())
|
.append("period", getPeriod())
|
.append("periodStart", getPeriodStart())
|
.append("periodEnd", getPeriodEnd())
|
.append("planId", getPlanId())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.toString();
|
}
|
}
|