package com.dsk.jsk.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @ClassName EnterpriseProjectBidPlanProjectTypeBody
 * @Description
 * @Author Dgm
 * @Date 2023/7/13 9:37
 * @Version
 */

@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class EnterpriseProjectBidPlanProjectTypeBody {
    /**
     * 企业id
     */
    @NotNull(message = "企业id不能为空")
    private Integer cid;

    public boolean isVaildCid() {
        return 0 == cid;
    }
}
