package com.railway.business.catenary.domain; import com.railway.common.core.domain.BaseEntity; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import org.hibernate.validator.constraints.Length; /** * 基础数据-检查表-隔离开关 * @author author 2021-10-26 */ @Data @ApiModel("基础数据-检查表-隔离开关") @EqualsAndHashCode(callSuper = true) public class BusGlkg extends BaseEntity{ @ApiModelProperty(value = "主键") private String id; @ApiModelProperty(value = "段别") @Length(min = 1, max = 100, message = "【段别】长度必须介于 {min} 和 {max} 之间") private String db; @ApiModelProperty(value = "所属部门") @Length(min = 1, max = 100, message = "【所属部门】长度必须介于 {min} 和 {max} 之间") private String bm; @ApiModelProperty(value = "所属部门名称") private String deptName; @ApiModelProperty(value = "线别") @Length(min = 1, max = 100, message = "【线别】长度必须介于 {min} 和 {max} 之间") private String xb; @ApiModelProperty(value = "线别名称") private String lineName; @ApiModelProperty(value = "区间") @Length(min = 1, max = 100, message = "【区间】长度必须介于 {min} 和 {max} 之间") private String qj; @ApiModelProperty(value = "区间名称") private String stationName; @ApiModelProperty(value = "行别") @Length(min = 1, max = 100, message = "【行别】长度必须介于 {min} 和 {max} 之间") private String hb; @ApiModelProperty(value = "行别字典中文") private String xingbieText; @ApiModelProperty(value = "支柱号") @Length(min = 1, max = 100, message = "【支柱号】长度必须介于 {min} 和 {max} 之间") private String zzh; @ApiModelProperty(value = "公里标") @Length(min = 1, max = 100, message = "【公里标】长度必须介于 {min} 和 {max} 之间") private String glb; @ApiModelProperty(value = "开关编号") @Length(min = 1, max = 100, message = "【开关编号】长度必须介于 {min} 和 {max} 之间") private String kgbh; @ApiModelProperty(value = "生产厂家") @Length(min = 1, max = 200, message = "【生产厂家】长度必须介于 {min} 和 {max} 之间") private String sccj; @ApiModelProperty(value = "开关型号") @Length(min = 1, max = 100, message = "【开关型号】长度必须介于 {min} 和 {max} 之间") private String kgxh; @ApiModelProperty(value = "del_flag") @Length(min = 1, max = 1, message = "【del_flag】长度必须介于 {min} 和 {max} 之间") private String delFlag; public BusGlkg() { } }