package com.railway.business.baseinfo.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-11-04
 */
@Data
@ApiModel("基础数据-检查表-隔离开关")
@EqualsAndHashCode(callSuper = true)
public class BusGlkg extends BaseEntity{

    @ApiModelProperty(value = "主键", hidden = true)
    private String id;

    @ApiModelProperty(value = "部门id")
    private Long deptId;

    @ApiModelProperty(value = "所属部门")
    @Length(min = 1, max = 100, message = "【所属部门】长度必须介于 {min} 和 {max} 之间")
    private String deptName;

    @ApiModelProperty(value = "线路id")
    private Long lineId;

    @ApiModelProperty(value = "线别")
    @Length(min = 1, max = 100, message = "【线别】长度必须介于 {min} 和 {max} 之间")
    private String lineName;

    @ApiModelProperty(value = "区间站场id")
    private Long stationId;

    @ApiModelProperty(value = "区间")
    @Length(min = 1, max = 100, message = "【区间】长度必须介于 {min} 和 {max} 之间")
    private String stationName;

    @ApiModelProperty(value = "车间-区间站场关联id")
    private Long deptStationId;

    @ApiModelProperty(value = "行别")
    @Length(min = 1, max = 100, message = "【行别】长度必须介于 {min} 和 {max} 之间")
    private String xingbie;

    @ApiModelProperty(value = "行别")
    private String xingbieText;

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

    @ApiModelProperty(value = "公里标")
    @Length(min = 1, max = 100, message = "【公里标】长度必须介于 {min} 和 {max} 之间")
    private String marker;

    @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;

}