| File was renamed from eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/domain/SystemSetting.java |
| | |
| | | import me.zhengjie.base.BaseEntity; |
| | | |
| | | import javax.persistence.*; |
| | | import javax.validation.constraints.*; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | |
| | | **/ |
| | | @Entity |
| | | @Data |
| | | @Table(name="system_setting") |
| | | public class SystemSetting extends BaseEntity implements Serializable { |
| | | @Table(name="sys_user_company") |
| | | public class SysUserCompany extends BaseEntity implements Serializable { |
| | | |
| | | @Id |
| | | @GeneratedValue(strategy = GenerationType.IDENTITY) |
| | |
| | | @ApiModelProperty(value = "值") |
| | | private String value; |
| | | |
| | | public void copy(SystemSetting source){ |
| | | public void copy(SysUserCompany source){ |
| | | BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true)); |
| | | } |
| | | } |