| | |
| | | package com.gkhy.system.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.gkhy.common.annotation.Excel; |
| | | import com.gkhy.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.rchuing.sis.common.annotation.Excel; |
| | | import com.rchuing.sis.common.core.domain.BaseEntity; |
| | | |
| | | import javax.validation.constraints.NotBlank; |
| | | |
| | | |
| | | /** |
| | | * 系统配置对象 sys_settings |
| | |
| | | * @author expert |
| | | * @date 2024-11-13 |
| | | */ |
| | | @TableName(resultMap = "com.gkhy.system.mapper.SysSettingsMapper.SysSettingsResult") |
| | | public class SysSettings extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | @TableName(resultMap = "com.gkhy.system.mapper.SysSettingsMapper.SysSettingsResult") |
| | | @ApiModel(value = "系统配置对象", description = "专家申请系统设置") |
| | | public class SysSettings extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** 1开启2关闭 */ |
| | | @Excel(name = "1开启2关闭") |
| | | private String state; |
| | | /** |
| | | * 1开启2关闭 |
| | | */ |
| | | @Excel(name = "1开启2关闭") |
| | | @NotBlank(message = "参数不能为空") |
| | | @ApiModelProperty("1开启2关闭") |
| | | private String state; |
| | | |
| | | public void setState(String state) { |
| | | this.state = state; |
| | | } |
| | | public void setState(String state) { |
| | | this.state = state; |
| | | } |
| | | |
| | | public String getState() { |
| | | return state; |
| | | } |
| | | public String getState() { |
| | | return state; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("state", getState()) |
| | | .toString(); |
| | | } |
| | | } |
| | | .toString(); |
| | | } |
| | | } |