BaseVehicle.java 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. package com.ozs.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.ozs.common.annotation.Excel;
  5. import lombok.Data;
  6. import lombok.EqualsAndHashCode;
  7. import java.io.Serializable;
  8. import java.util.Date;
  9. /**
  10. * <p>
  11. * 机车信息表
  12. * </p>
  13. *
  14. * @author ozs
  15. * @since 2023-04-11
  16. */
  17. @Data
  18. @EqualsAndHashCode(callSuper = false)
  19. public class BaseVehicle implements Serializable {
  20. private static final long serialVersionUID = 1L;
  21. /**
  22. * 主键ID
  23. */
  24. @TableId(value = "id", type = IdType.AUTO)
  25. private Long id;
  26. /**
  27. * 机车编码
  28. */
  29. @Excel(name = "机车编码")
  30. private String vehicleCode;
  31. /**
  32. * 机车名称
  33. */
  34. @Excel(name = "机车名称")
  35. private String vehicleName;
  36. /**
  37. * 创建者
  38. */
  39. private String createBy;
  40. /**
  41. * 创建时间
  42. */
  43. private Date createTime;
  44. /**
  45. * 更新者
  46. */
  47. private String updateBy;
  48. /**
  49. * 更新时间
  50. */
  51. private Date updateTime;
  52. /**
  53. * 备注
  54. */
  55. private String remark;
  56. }