|
|
@ -14,6 +14,8 @@ import com.yxt.common.core.dto.Dto; |
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
import lombok.Data; |
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank; |
|
|
|
import javax.validation.constraints.NotNull; |
|
|
|
import java.util.Date; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
@ -27,33 +29,44 @@ public class BusSalesOrderAllDto implements Dto { |
|
|
|
private static final long serialVersionUID = -734571880207951780L; |
|
|
|
|
|
|
|
private String sid; |
|
|
|
|
|
|
|
@ApiModelProperty(value = "用户sid") |
|
|
|
@ApiModelProperty(value = "用户sid", required = true) |
|
|
|
@NotBlank(message = "用户sid不能为空") |
|
|
|
private String userSid; |
|
|
|
@ApiModelProperty("销售部门sid") |
|
|
|
@ApiModelProperty(value = "销售部门sid", required = true) |
|
|
|
@NotBlank(message = "销售部门sid不能为空") |
|
|
|
private String orgSid; |
|
|
|
@ApiModelProperty("销售部门") |
|
|
|
@ApiModelProperty(value = "销售部门", required = true) |
|
|
|
@NotBlank(message = "销售部门不能为空") |
|
|
|
private String orgName; |
|
|
|
@ApiModelProperty("客户名称") |
|
|
|
@ApiModelProperty(value = "客户名称", required = true) |
|
|
|
@NotBlank(message = "客户名称不能为空") |
|
|
|
private String customerName; |
|
|
|
@ApiModelProperty("客户sid") |
|
|
|
@ApiModelProperty(value = "客户sid", required = true) |
|
|
|
@NotBlank(message = "客户sid不能为空") |
|
|
|
private String customerSid; |
|
|
|
@ApiModelProperty("销售专员") |
|
|
|
@ApiModelProperty(value = "销售专员", required = true) |
|
|
|
@NotBlank(message = "销售专员不能为空") |
|
|
|
private String staffName; |
|
|
|
@ApiModelProperty("销售专员sid") |
|
|
|
@ApiModelProperty(value = "销售专员sid", required = true) |
|
|
|
@NotBlank(message = "销售专员sid不能为空") |
|
|
|
private String staffSid; |
|
|
|
@ApiModelProperty("客户联系电话") |
|
|
|
@ApiModelProperty(value = "客户联系电话", required = true) |
|
|
|
@NotBlank(message = "客户联系电话不能为空") |
|
|
|
private String mobile; |
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
|
|
|
@ApiModelProperty("制单日期") |
|
|
|
private Date createDate; |
|
|
|
@ApiModelProperty("开票类型key") |
|
|
|
@ApiModelProperty(value = "开票类型key", required = true) |
|
|
|
@NotBlank(message = "开票类型key不能为空") |
|
|
|
private String billingTypeKey; |
|
|
|
@ApiModelProperty("开票类型value") |
|
|
|
@NotBlank(message = "开票类型不能为空") |
|
|
|
private String billingType; |
|
|
|
@ApiModelProperty("付款方式key") |
|
|
|
@NotBlank(message = "付款方式key不能为空") |
|
|
|
private String payTypeKey; |
|
|
|
@ApiModelProperty("付款方式value") |
|
|
|
@NotBlank(message = "付款方式不能为空") |
|
|
|
private String payType; |
|
|
|
@ApiModelProperty("挂靠公司sid") |
|
|
|
private String affiliatedCompanySid; |
|
|
@ -66,8 +79,10 @@ public class BusSalesOrderAllDto implements Dto { |
|
|
|
@ApiModelProperty("是否包含上装") |
|
|
|
private String isTop; |
|
|
|
@ApiModelProperty("销售订单车辆类型:1现车、2订单、3排产") |
|
|
|
@NotBlank(message = "销售订单车辆类型不能为空") |
|
|
|
private String type; |
|
|
|
@ApiModelProperty(value = "主车车型信息") |
|
|
|
@NotNull(message = "车型信息不能为空") |
|
|
|
private BusSalesOrderModelDto busSalesOrderModel; |
|
|
|
@ApiModelProperty(value = "现车车辆信息") |
|
|
|
private List<BusSalesOrderVehicleDto> busSalesOrderVehicleList; |
|
|
@ -85,4 +100,14 @@ public class BusSalesOrderAllDto implements Dto { |
|
|
|
private BusSalesOrderDepositDto busSalesOrderDeposit; |
|
|
|
@ApiModelProperty(value = "虚拟订单和订金关联信息") |
|
|
|
private List<BusDepositFictitiousDto> busDepositFictitiousList; |
|
|
|
|
|
|
|
@ApiModelProperty(value = "客户类型key", required = true) |
|
|
|
@NotBlank(message = "客户类型key不能为空") |
|
|
|
private String customerClassKey; |
|
|
|
@ApiModelProperty(value = "客户类型", required = true) |
|
|
|
@NotBlank(message = "客户类型不能为空") |
|
|
|
private String customerClass; |
|
|
|
@ApiModelProperty(value = "客户头像", required = true) |
|
|
|
@NotBlank(message = "客户头像不能为空") |
|
|
|
private String customerPhoto; |
|
|
|
} |
|
|
|