package com.yunzhupaas.base.model.province;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 *
 * @author 云筑产品开发平台组
 * @version V3.1.0
 * @copyright 深圳市乐程软件有限公司
 * @date 2024/3/12 15:31
 */
@Data
public class ProvinceCrForm {
    @Schema(description = "编码")
    @org.hibernate.validator.constraints.NotBlank(message = "必填")
    private String enCode;

    @Schema(description = "有效标志")
    private Integer enabledMark;

    @Schema(description = "名称")
    @org.hibernate.validator.constraints.NotBlank(message = "必填")
    private String fullName;

    @Schema(description = "说明")
    private String description;

    @Schema(description = "上级id")
    @NotBlank(message = "必填")
    private String parentId;

    @Schema(description = "分类")
    private String type;

    @Schema(description = "排序码")
    private long sortCode;
}

