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;

import java.math.BigDecimal;

/**
 * 智能查询-隧道台账
 * @author wuhonghao 2021-10-26
 */
@Data
@ApiModel("智能查询-隧道台账")
@EqualsAndHashCode(callSuper = true)
public class BusSdtz extends BaseEntity{

    @ApiModelProperty(value = "主键", hidden = true)
    private Long 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 = 100, message = "【隧道名称】长度必须介于 {min} 和 {max} 之间")
    private String sdmc;

    @ApiModelProperty(value = "两侧杆号")
    @Length(min = 1, max = 200, message = "【两侧杆号】长度必须介于 {min} 和 {max} 之间")
    private String lcgh;

    @ApiModelProperty(value = "隧道起始公里标")
    private BigDecimal startMarker;

    @ApiModelProperty(value = "隧道结束公里标")
    private BigDecimal endMarker;

    @ApiModelProperty(value = "隧道中心公里标")
    private BigDecimal centerMarker;

    @ApiModelProperty(value = "起止里程/中心里程")
    @Length(min = 1, max = 100, message = "【起止里程/中心里程】长度必须介于 {min} 和 {max} 之间")
    private String qzlcZxlc;

    @ApiModelProperty(value = "隧道长度/m\r\n")
    @Length(min = 1, max = 20, message = "【隧道长度/m\r\n】长度必须介于 {min} 和 {max} 之间")
    private String sdcd;

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

}