package com.railway.business.catenary.domain;

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-05
 */
@Data
@ApiModel("检测表-零部件更换记录")
@EqualsAndHashCode(callSuper = true)
public class BusJcebLbjghjl extends BusJceb{

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

    @ApiModelProperty(value = "更换前名称")
    @Length(max = 20, message = "【更换前名称】长度必须介于 {min} 和 {max} 之间")
    private String ghqMc;

    @ApiModelProperty(value = "更换前规格型号")
    @Length(max = 20, message = "【更换前规格型号】长度必须介于 {min} 和 {max} 之间")
    private String ghqGgxh;

    @ApiModelProperty(value = "更换前生产厂家")
    @Length(max = 20, message = "【更换前生产厂家】长度必须介于 {min} 和 {max} 之间")
    private String ghqSccj;

    @ApiModelProperty(value = "更换后名称")
    @Length(min = 1, max = 20, message = "【更换后名称】长度必须介于 {min} 和 {max} 之间")
    private String ghhMc;

    @ApiModelProperty(value = "更换后规格型号")
    @Length(max = 20, message = "【更换后规格型号】长度必须介于 {min} 和 {max} 之间")
    private String ghhGgxh;

    @ApiModelProperty(value = "更换后生产厂家")
    @Length(max = 20, message = "【更换后生产厂家】长度必须介于 {min} 和 {max} 之间")
    private String ghhSccj;

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

}