xiangpei
2025-02-19 bc090b07e4310ee33a28a907dbf2cd542facc768
business/src/main/java/com/ycl/domain/form/ProjectInfoWinUnitForm.java
@@ -23,22 +23,26 @@
@ApiModel(value = "ProjectInfoWinUnit表单", description = "项目中标单位表单")
public class ProjectInfoWinUnitForm extends AbsForm {
    @NotNull(message = "项目id不能为空", groups = {Add.class, Update.class})
    @ApiModelProperty("项目id")
    private Long projectInfoId;
    @NotBlank(message = "中标单位不能为空", groups = {Add.class, Update.class})
//    @NotBlank(message = "中标单位不能为空", groups = {Add.class, Update.class})
    @ApiModelProperty("中标单位")
    private String winUnit;
    @NotBlank(message = "联系人不能为空", groups = {Add.class, Update.class})
//    @NotBlank(message = "联系人不能为空", groups = {Add.class, Update.class})
    @ApiModelProperty("联系人")
    private String contacts;
    @NotBlank(message = "联系方式不能为空", groups = {Add.class, Update.class})
//    @NotBlank(message = "联系方式不能为空", groups = {Add.class, Update.class})
    @ApiModelProperty("联系方式")
    private String phone;
    @ApiModelProperty("中标金额")
    /** 中标金额 */
    private String winAmount;
    @ApiModelProperty("中标时间")
    /** 中标时间 */
    private Date winTime;
    public static ProjectInfoWinUnit getEntityByForm(@NonNull ProjectInfoWinUnitForm form, ProjectInfoWinUnit entity) {
        if(entity == null) {
          entity = new ProjectInfoWinUnit();