package com.railway.business.catenary.domain;

import com.railway.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
/**
 * 接触网-记录故障
 * @author author 2021-11-04
 */
@Data
@ApiModel("接触网-记录故障")
@EqualsAndHashCode(callSuper = true)
public class BusJlgz extends BaseEntity{

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

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

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

    @ApiModelProperty(value = "变电所id")
    private Long substationId;

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

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

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

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

    @ApiModelProperty(value = "支柱范围")
    private String pillarArea;

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

    @ApiModelProperty(value = "原因类型")
    private String yylxText;

    @ApiModelProperty(value = "记录日期")
    @Length(max = 100, message = "【记录日期】长度必须介于 {min} 和 {max} 之间")
    private String operationDate;

    @ApiModelProperty(value = "故障描述")
    @Length(max = 1000, message = "【故障描述】长度必须介于 {min} 和 {max} 之间")
    private String gzms;

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

    @ApiModelProperty(value = "要排序的列")
    private String orderBy;

    @ApiModelProperty(value = "1-ASC 正序排序，0-DESC 倒序排序")
    private String isAsc;

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

    @ApiModelProperty(value = "支柱号")
    private String pillarCode;

    private List<BusJlgzPic> pics;

}