package com.aps.core.domain;
|
|
import com.aps.common.core.web.domain.BaseEntity;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
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;
|
|
/**
|
* 计划管理对象 aps_plan_management
|
*
|
* @author ruoyi
|
* @date 2025-05-13
|
*/
|
@Data
|
@Schema(description = "计划管理实体类")
|
public class ApsPlanManagement extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 计划ID */
|
@Schema(description = "计划ID")
|
private Long id;
|
|
/** 计划名称 */
|
@Excel(name = "计划名称")
|
@Schema(description = "计划名称")
|
private String name;
|
|
/** 计划类型 0:装配分解计划;1:主计划 */
|
@Excel(name = "计划类型 0:装配分解计划;1:主计划")
|
@Schema(description = "计划类型 0:装配分解计划;1:主计划")
|
private String type;
|
|
/** 计划排产区域 多选,枚举 */
|
@Excel(name = "计划排产区域 多选,枚举")
|
@Schema(description = "计划排产区域 多选,枚举")
|
private String area;
|
|
/** 计划排产规则 */
|
@Excel(name = "计划排产规则")
|
@Schema(description = "计划排产规则")
|
private String rule;
|
|
@TableField(exist = false)
|
private ApsPlanCycle cycle;
|
|
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 setArea(String area)
|
{
|
this.area = area;
|
}
|
|
public String getArea()
|
{
|
return area;
|
}
|
|
public void setRule(String rule)
|
{
|
this.rule = rule;
|
}
|
|
public String getRule()
|
{
|
return rule;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("name", getName())
|
.append("type", getType())
|
.append("area", getArea())
|
.append("rule", getRule())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.toString();
|
}
|
}
|