package com.railway.business.catenary.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
/**
 *  检测表-接地电阻
 * @author zcf 2021-10-24
 */
@Data
@ApiModel("检测表-接地电阻")
@EqualsAndHashCode(callSuper = true)
public class BusJcebJddz extends BusJceb{

    @ApiModelProperty(value = "锚段号")
    @Length(min = 1, max = 20, message = "【锚段号】长度必须介于 {min} 和 {max} 之间")
    private String mdh;

    @ApiModelProperty(value = "支柱(或悬挂点号)")
    @Length(min = 1, max = 20, message = "【支柱(或悬挂点号)】长度必须介于 {min} 和 {max} 之间")
    private String pillarCode;

    @ApiModelProperty(value = "设备名称")
    @Length(max = 30, message = "【设备名称】长度必须介于 {min} 和 {max} 之间")
    private String sbmc;

    @ApiModelProperty(value = "最大允许电阻")
    private Integer zdyxdz;

    @ApiModelProperty(value = "实测电阻")
    private Integer scdz;

    @ApiModelProperty(value = "是否合格")
    @Length(min = 1, max = 1, message = "【是否合格】长度必须介于 {min} 和 {max} 之间")
    private String sfhg;

    @ApiModelProperty(value = "用户id")
    private Long userId;

}