|
|
@ -26,9 +26,16 @@ |
|
|
|
package com.yxt.anrui.base.api.busvehicleorder; |
|
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat; |
|
|
|
import com.yxt.common.core.dto.Dto; |
|
|
|
import com.yxt.common.core.utils.desensitized.Sensitive; |
|
|
|
import com.yxt.common.core.utils.desensitized.SensitiveTypeEnum; |
|
|
|
import io.swagger.annotations.ApiModel; |
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
import lombok.Data; |
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank; |
|
|
|
import javax.validation.constraints.Pattern; |
|
|
|
|
|
|
|
/** |
|
|
|
* Project: anrui-base(车型信息) <br/> |
|
|
@ -44,8 +51,11 @@ import io.swagger.annotations.ApiModelProperty; |
|
|
|
* @since 1.0 |
|
|
|
*/ |
|
|
|
@ApiModel(value = "车辆采购订单 数据传输对象", description = "车辆采购订单 数据传输对象") |
|
|
|
@Data |
|
|
|
public class BusVehicleOrderDto implements Dto { |
|
|
|
|
|
|
|
@ApiModelProperty("采购订单sid") |
|
|
|
private String sid; |
|
|
|
|
|
|
|
@ApiModelProperty("创建组织sid") |
|
|
|
private String createOrgSid; // 创建组织sid
|
|
|
@ -54,337 +64,56 @@ public class BusVehicleOrderDto implements Dto { |
|
|
|
private String orderNo; // 订单编号
|
|
|
|
|
|
|
|
@ApiModelProperty("订单类型") |
|
|
|
@NotBlank(message = "订单类型不能为空") |
|
|
|
private String orderType; // 订单类型
|
|
|
|
|
|
|
|
@ApiModelProperty("订单日期") |
|
|
|
@Pattern(regexp = "^(\\s*)|([1-9]\\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]))$", message = "订单日期格式不正确") |
|
|
|
private String orderDate; // 订单日期
|
|
|
|
|
|
|
|
@ApiModelProperty("排产/采购申请sid") |
|
|
|
private String purchaseRequisitionSid; // 排产/采购申请sid
|
|
|
|
|
|
|
|
@ApiModelProperty("排产/采购申请中车型表sid") |
|
|
|
@NotBlank(message = "车型表sid不能为空") |
|
|
|
private String purchaseApplyMediumModelSid; // 排产/采购申请中车型表sid
|
|
|
|
|
|
|
|
@ApiModelProperty("台数") |
|
|
|
@NotBlank(message = "台数不能为空") |
|
|
|
@Pattern(regexp = "^(\\s*)|([1-9]\\d*)$", message = "台数输入不正确") |
|
|
|
private String platformNo; // 台数
|
|
|
|
|
|
|
|
@ApiModelProperty("底盘价格构成") |
|
|
|
private String chassisPriceComposition; // 底盘价格构成
|
|
|
|
|
|
|
|
@ApiModelProperty("底盘结算价格") |
|
|
|
private String chassisSettlementPrice; // 底盘结算价格
|
|
|
|
|
|
|
|
@ApiModelProperty("上装价格") |
|
|
|
@Pattern(regexp = "^(\\s*)|(([1-9][0-9]*)|(([0]\\.\\d{0,2}|[1-9][0-9]*\\.\\d{0,2})))$", message = "上装价格格式输入不正确") |
|
|
|
private String coatPrice; // 上装价格
|
|
|
|
|
|
|
|
@ApiModelProperty("修订差价") |
|
|
|
private String revisedPriceDifference; // 修订差价
|
|
|
|
|
|
|
|
@ApiModelProperty("入库价格") |
|
|
|
@Pattern(regexp = "^(\\s*)|(([1-9][0-9]*)|(([0]\\.\\d{0,2}|[1-9][0-9]*\\.\\d{0,2})))$", message = "入库价格格式输入不正确") |
|
|
|
private String treasuryPrice; // 入库价格
|
|
|
|
|
|
|
|
@ApiModelProperty("运费") |
|
|
|
@Pattern(regexp = "^(\\s*)|(([1-9][0-9]*)|(([0]\\.\\d{0,2}|[1-9][0-9]*\\.\\d{0,2})))$", message = "运费格式输入不正确") |
|
|
|
private String freight; // 运费
|
|
|
|
|
|
|
|
@ApiModelProperty("销售指导价") |
|
|
|
@Pattern(regexp = "^(\\s*)|(([1-9][0-9]*)|(([0]\\.\\d{0,2}|[1-9][0-9]*\\.\\d{0,2})))$", message = "销售指导价格式输入不正确") |
|
|
|
private String salesGuidePrice; // 销售指导价
|
|
|
|
|
|
|
|
@ApiModelProperty("收到发票日期") |
|
|
|
private String receivedInvoiceDate; // 收到发票日期
|
|
|
|
|
|
|
|
@ApiModelProperty("发票金额") |
|
|
|
private String invoiceAmount; // 发票金额
|
|
|
|
|
|
|
|
@ApiModelProperty("预计上线日期") |
|
|
|
@Pattern(regexp = "^(\\s*)|([1-9]\\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]))$", message = "预计上线日期格式不正确") |
|
|
|
private String expectLaunchDate; // 预计上线日期
|
|
|
|
|
|
|
|
@ApiModelProperty("上线日期") |
|
|
|
@Pattern(regexp = "^(\\s*)|([1-9]\\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]))$", message = "上线日期格式不正确") |
|
|
|
private String launchDate; // 上线日期
|
|
|
|
|
|
|
|
@ApiModelProperty("下线日期") |
|
|
|
@Pattern(regexp = "^(\\s*)|([1-9]\\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]))$", message = "下线日期格式不正确") |
|
|
|
private String offlineDate; // 下线日期
|
|
|
|
|
|
|
|
@ApiModelProperty("排产申请编号") |
|
|
|
private String applicationCode; |
|
|
|
|
|
|
|
@ApiModelProperty("订单状态") |
|
|
|
private String orderStatus; // 订单状态
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* @return 创建组织sid |
|
|
|
*/ |
|
|
|
public String getCreateOrgSid(){ |
|
|
|
return createOrgSid; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param createOrgSid 创建组织sid to set |
|
|
|
*/ |
|
|
|
public void setCreateOrgSid(String createOrgSid){ |
|
|
|
this.createOrgSid = createOrgSid; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 订单编号 |
|
|
|
*/ |
|
|
|
public String getOrderNo(){ |
|
|
|
return orderNo; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param orderNo 订单编号 to set |
|
|
|
*/ |
|
|
|
public void setOrderNo(String orderNo){ |
|
|
|
this.orderNo = orderNo; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 订单类型 |
|
|
|
*/ |
|
|
|
public String getOrderType(){ |
|
|
|
return orderType; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param orderType 订单类型 to set |
|
|
|
*/ |
|
|
|
public void setOrderType(String orderType){ |
|
|
|
this.orderType = orderType; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 订单日期 |
|
|
|
*/ |
|
|
|
public String getOrderDate(){ |
|
|
|
return orderDate; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param orderDate 订单日期 to set |
|
|
|
*/ |
|
|
|
public void setOrderDate(String orderDate){ |
|
|
|
this.orderDate = orderDate; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 排产/采购申请sid |
|
|
|
*/ |
|
|
|
public String getPurchaseRequisitionSid(){ |
|
|
|
return purchaseRequisitionSid; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param purchaseRequisitionSid 排产/采购申请sid to set |
|
|
|
*/ |
|
|
|
public void setPurchaseRequisitionSid(String purchaseRequisitionSid){ |
|
|
|
this.purchaseRequisitionSid = purchaseRequisitionSid; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 排产/采购申请中车型表sid |
|
|
|
*/ |
|
|
|
public String getPurchaseApplyMediumModelSid(){ |
|
|
|
return purchaseApplyMediumModelSid; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param purchaseApplyMediumModelSid 排产/采购申请中车型表sid to set |
|
|
|
*/ |
|
|
|
public void setPurchaseApplyMediumModelSid(String purchaseApplyMediumModelSid){ |
|
|
|
this.purchaseApplyMediumModelSid = purchaseApplyMediumModelSid; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 台数 |
|
|
|
*/ |
|
|
|
public String getPlatformNo(){ |
|
|
|
return platformNo; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param platformNo 台数 to set |
|
|
|
*/ |
|
|
|
public void setPlatformNo(String platformNo){ |
|
|
|
this.platformNo = platformNo; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 底盘价格构成 |
|
|
|
*/ |
|
|
|
public String getChassisPriceComposition(){ |
|
|
|
return chassisPriceComposition; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param chassisPriceComposition 底盘价格构成 to set |
|
|
|
*/ |
|
|
|
public void setChassisPriceComposition(String chassisPriceComposition){ |
|
|
|
this.chassisPriceComposition = chassisPriceComposition; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 底盘结算价格 |
|
|
|
*/ |
|
|
|
public String getChassisSettlementPrice(){ |
|
|
|
return chassisSettlementPrice; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param chassisSettlementPrice 底盘结算价格 to set |
|
|
|
*/ |
|
|
|
public void setChassisSettlementPrice(String chassisSettlementPrice){ |
|
|
|
this.chassisSettlementPrice = chassisSettlementPrice; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 上装价格 |
|
|
|
*/ |
|
|
|
public String getCoatPrice(){ |
|
|
|
return coatPrice; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param coatPrice 上装价格 to set |
|
|
|
*/ |
|
|
|
public void setCoatPrice(String coatPrice){ |
|
|
|
this.coatPrice = coatPrice; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 修订差价 |
|
|
|
*/ |
|
|
|
public String getRevisedPriceDifference(){ |
|
|
|
return revisedPriceDifference; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param revisedPriceDifference 修订差价 to set |
|
|
|
*/ |
|
|
|
public void setRevisedPriceDifference(String revisedPriceDifference){ |
|
|
|
this.revisedPriceDifference = revisedPriceDifference; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 入库价格 |
|
|
|
*/ |
|
|
|
public String getTreasuryPrice(){ |
|
|
|
return treasuryPrice; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param treasuryPrice 入库价格 to set |
|
|
|
*/ |
|
|
|
public void setTreasuryPrice(String treasuryPrice){ |
|
|
|
this.treasuryPrice = treasuryPrice; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 运费 |
|
|
|
*/ |
|
|
|
public String getFreight(){ |
|
|
|
return freight; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param freight 运费 to set |
|
|
|
*/ |
|
|
|
public void setFreight(String freight){ |
|
|
|
this.freight = freight; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 销售指导价 |
|
|
|
*/ |
|
|
|
public String getSalesGuidePrice(){ |
|
|
|
return salesGuidePrice; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param salesGuidePrice 销售指导价 to set |
|
|
|
*/ |
|
|
|
public void setSalesGuidePrice(String salesGuidePrice){ |
|
|
|
this.salesGuidePrice = salesGuidePrice; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 收到发票日期 |
|
|
|
*/ |
|
|
|
public String getReceivedInvoiceDate(){ |
|
|
|
return receivedInvoiceDate; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param receivedInvoiceDate 收到发票日期 to set |
|
|
|
*/ |
|
|
|
public void setReceivedInvoiceDate(String receivedInvoiceDate){ |
|
|
|
this.receivedInvoiceDate = receivedInvoiceDate; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 发票金额 |
|
|
|
*/ |
|
|
|
public String getInvoiceAmount(){ |
|
|
|
return invoiceAmount; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param invoiceAmount 发票金额 to set |
|
|
|
*/ |
|
|
|
public void setInvoiceAmount(String invoiceAmount){ |
|
|
|
this.invoiceAmount = invoiceAmount; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 预计上线日期 |
|
|
|
*/ |
|
|
|
public String getExpectLaunchDate(){ |
|
|
|
return expectLaunchDate; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param expectLaunchDate 预计上线日期 to set |
|
|
|
*/ |
|
|
|
public void setExpectLaunchDate(String expectLaunchDate){ |
|
|
|
this.expectLaunchDate = expectLaunchDate; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 上线日期 |
|
|
|
*/ |
|
|
|
public String getLaunchDate(){ |
|
|
|
return launchDate; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param launchDate 上线日期 to set |
|
|
|
*/ |
|
|
|
public void setLaunchDate(String launchDate){ |
|
|
|
this.launchDate = launchDate; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 下线日期 |
|
|
|
*/ |
|
|
|
public String getOfflineDate(){ |
|
|
|
return offlineDate; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param offlineDate 下线日期 to set |
|
|
|
*/ |
|
|
|
public void setOfflineDate(String offlineDate){ |
|
|
|
this.offlineDate = offlineDate; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return 订单状态 |
|
|
|
*/ |
|
|
|
public String getOrderStatus(){ |
|
|
|
return orderStatus; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param orderStatus 订单状态 to set |
|
|
|
*/ |
|
|
|
public void setOrderStatus(String orderStatus){ |
|
|
|
this.orderStatus = orderStatus; |
|
|
|
} |
|
|
|
} |