package com.aps.core.domain;
|
|
import com.aps.common.core.web.domain.BaseEntity;
|
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;
|
|
import java.math.BigDecimal;
|
import java.sql.Timestamp;
|
|
/**
|
* 管路手工气体工单数据对象 aps_gas_pipeline_mo
|
*
|
* @author ruoyi
|
* @date 2025-05-19
|
*/
|
@Schema(description = "管路手工气体工单数据实体类")
|
@Data
|
public class ApsGasPipelineMo extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
/** ID */
|
@Schema(description = "ID")
|
private Long id;
|
|
/** 工单号 */
|
@Excel(name = "工单号")
|
@Schema(description = "工单号")
|
private String mo;
|
|
/** 生产基地 */
|
@Excel(name = "生产基地")
|
@Schema(description = "生产基地")
|
private String factory;
|
|
/** 料号 */
|
@Excel(name = "料号")
|
@Schema(description = "料号")
|
private String materialCode;
|
|
/** 计划完工日期 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "计划完工日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
@Schema(description = "计划完工日期")
|
private Timestamp planEnd;
|
|
/** 数量 */
|
@Excel(name = "数量")
|
@Schema(description = "数量")
|
private BigDecimal quantity;
|
|
public void setId(Long id)
|
{
|
this.id = id;
|
}
|
|
public Long getId()
|
{
|
return id;
|
}
|
|
public void setMo(String mo)
|
{
|
this.mo = mo;
|
}
|
|
public String getMo()
|
{
|
return mo;
|
}
|
|
public void setFactory(String factory)
|
{
|
this.factory = factory;
|
}
|
|
public String getFactory()
|
{
|
return factory;
|
}
|
|
public void setMaterialCode(String materialCode)
|
{
|
this.materialCode = materialCode;
|
}
|
|
public String getMaterialCode()
|
{
|
return materialCode;
|
}
|
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("mo", getMo())
|
.append("factory", getFactory())
|
.append("materialCode", getMaterialCode())
|
.append("planEnd", getPlanEnd())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.toString();
|
}
|
}
|