From ab2036ee893f735f69d9e069e4704a99c09c9b26 Mon Sep 17 00:00:00 2001 From: weizhihong Date: Tue, 31 Oct 2023 14:42:42 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A2=9E=E5=8A=A0=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E8=BD=A6=E7=AB=99code=E6=96=B9=E6=B3=95=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repository/station.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/repository/station.go b/repository/station.go index f9ba6c0..1b5fd87 100644 --- a/repository/station.go +++ b/repository/station.go @@ -16,6 +16,10 @@ func NewStation(id, code string) *Station { } } +func (s *Station) GetCode() string { + return s.code +} + func (s *Station) GetIbpEmp() *IBPRefMap { return s.ibp.Emp }