package com.railway.business.catenary.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * 接触网-记录故障-照片表
 * @author author 2021-10-16
 */
@Data
@ApiModel("接触网-记录故障-照片表")
public class BusJlgzPic {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "base_jlgz表的id")
    private Long jlgzId;

    @ApiModelProperty(value = "上传照片url")
    @Length(min = 1, max = 500, message = "【上传照片url】长度必须介于 {min} 和 {max} 之间")
    private String url;

}