package com.zcloud.basic.info.dto;

import com.alibaba.cola.dto.Command;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2025-10-31 10:52:08
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CorpInfoXgfAddCmd extends Command {
    @ApiModelProperty(value = "企业名称,汉字30以内", name = "corpName", required = true)
    @NotEmpty(message = "企业名称不能为空")
    private String corpName;
    @ApiModelProperty(value = "企业类型(0-普通企业，1-集团单位，2-股份单位，3-相关方企业，4-货主单位，5-驻港单位)", name = "type", required = true)
    private Integer type;

    @ApiModelProperty(value = "相关方等级，1 一级相关方,2 二级相关方", name = "xgfLevel", required = true)
    private Integer xgfLevel;

    @ApiModelProperty(value = "企业再列表中的排序", name = "corpOrder", required = true)
    private Integer corpOrder;

    @ApiModelProperty(value = "是否启用，1:启用,0:关闭", name = "useFlag", required = true)
    private Integer useFlag;

    @ApiModelProperty(value = "统一社会信用代码", name = "code", required = true)
    private String code;



}

