5 changed files with 112 additions and 12 deletions
@ -0,0 +1,29 @@ |
|||||
|
package com.kms.yg.cz.domain; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.annotation.TableField; |
||||
|
import com.baomidou.mybatisplus.annotation.TableId; |
||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||
|
import com.kms.yxgh.base.SyBaseEntity; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@TableName("bs_sgc_st_mon") |
||||
|
@Data |
||||
|
@ApiModel("水文水工程监测站基础信息") |
||||
|
public class BsSgcStMon extends SyBaseEntity { |
||||
|
|
||||
|
@TableField(exist = false) |
||||
|
private String Id; |
||||
|
|
||||
|
@TableId() |
||||
|
@ApiModelProperty("测站编码") |
||||
|
private String stcd; |
||||
|
|
||||
|
@ApiModelProperty("测站监测要素") |
||||
|
private String monProj; |
||||
|
|
||||
|
@TableField(exist = false) |
||||
|
private String remark; |
||||
|
|
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
package com.kms.yg.cz.mapper; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
import com.kms.yg.cz.domain.BsSgcStMon; |
||||
|
import org.springframework.stereotype.Repository; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 【请填写功能名称】Mapper接口 |
||||
|
* |
||||
|
* @author kms |
||||
|
* @date 2024-04-24 |
||||
|
*/ |
||||
|
@Repository |
||||
|
public interface BsSgcStMonMapper extends BaseMapper<BsSgcStMon> { |
||||
|
|
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
package com.kms.yg.cz.service; |
||||
|
|
||||
|
import com.kms.yg.cz.domain.BsSgcStMon; |
||||
|
import com.kms.yg.cz.mapper.BsSgcStMonMapper; |
||||
|
import com.shuili.common.core.service.BaseService; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
/** |
||||
|
* 【请填写功能名称】Service接口 |
||||
|
* |
||||
|
* @author kms |
||||
|
* @date 2024-04-24 |
||||
|
*/ |
||||
|
@Service |
||||
|
public class BsSgcStMonService extends BaseService<BsSgcStMonMapper, BsSgcStMon> { |
||||
|
|
||||
|
} |
Loading…
Reference in new issue