/*
* Copyright (c) 京北方信息技术股份有限公司 Corporation 2022 . All rights reserved.
*
*/
package net.northking.cctp.dataPool.dto.dataRule;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
* Restful接口--更新资源--数据传输对象：资源包
*
* createdate:  2022-10-24 17:01:18  <br>
* @author:  maven-cctp-plugin  <br>
* @since:  1.0 <br>
*/
@JsonSerialize
@ApiModel(description = "资源包")
public class DataResourcePackageUpdateDto implements Serializable
{
    /**
     * id<br>
     */
    @ApiModelProperty("id")
    @Size(max = 32, message="id-id: 数据长度不能 > 32" )
    @NotBlank(message = "资源包id不能为空")
    private String id;
    /**
     * 资源包描述<br>
     */
    @ApiModelProperty("资源包描述")
    @Size(max = 128, message="资源包描述-memo: 数据长度不能 > 128" )
    private String memo;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }
}