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 zcf 2021-10-26
 */
@Data
@ApiModel("基础数据-交叉线岔")
@EqualsAndHashCode(callSuper = true)
public class BusJcxc extends BaseEntity{

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

    @ApiModelProperty(value = "车间ID")
    private Long deptId;

    @ApiModelProperty(value = "所属部门")
    private String deptName;

    @ApiModelProperty(value = "线别ID")
    private Long lineId;

    @ApiModelProperty(value = "线别")
    private String lineName;

    @ApiModelProperty(value = "区间ID")
    private Long stationId;

    @ApiModelProperty(value = "站/区间")
    private String stationName;

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

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

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

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

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

    @ApiModelProperty(value = "管辖模式")
    @Length( max = 50, message = "【管辖模式】长度必须介于 {min} 和 {max} 之间")
    private String gxms;

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

    @ApiModelProperty(value = "德式/国产")
    @Length( max = 10, message = "【德式/国产】长度必须介于 {min} 和 {max} 之间")
    private String dsgc;

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

    @ApiModelProperty(value = "道岔编号")
    @Length( max = 50, message = "【道岔编号】长度必须介于 {min} 和 {max} 之间")
    private String dcbh;

    @ApiModelProperty(value = "线岔类型")
    @Length( max = 20, message = "【线岔类型】长度必须介于 {min} 和 {max} 之间")
    private String xclx;

    @ApiModelProperty(value = "线岔类型")
    private String xclxText;

    @ApiModelProperty(value = "标准定位/非标准定位")
    @Length( max = 10, message = "【标准定位/非标准定位】长度必须介于 {min} 和 {max} 之间")
    private String bzdw;

    @ApiModelProperty(value = "数据编号")
    @Length( max = 50, message = "【数据编号】长度必须介于 {min} 和 {max} 之间")
    private String sjbh;

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

}