mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 15:55:18 +08:00
feat: 增加网站管理接口
This commit is contained in:
@@ -10,4 +10,6 @@ public class CreateWebsiteAccountDto extends OrgCommonDto {
|
||||
private String username;
|
||||
|
||||
private String password;
|
||||
|
||||
private String website;
|
||||
}
|
||||
|
||||
@@ -10,4 +10,7 @@ public class UpdateWebsiteAccountDto extends OrgCommonDto {
|
||||
private String username;
|
||||
|
||||
private String password;
|
||||
|
||||
|
||||
private String website;
|
||||
}
|
||||
|
||||
@@ -16,4 +16,7 @@ public class WebsiteAccountDto extends OrgCommonDto {
|
||||
private String username;
|
||||
|
||||
private String password;
|
||||
|
||||
|
||||
private String website;
|
||||
}
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
package cn.lihongjie.coal.websiteAccount.entity;
|
||||
|
||||
import cn.lihongjie.coal.base.entity.OrgCommonEntity;
|
||||
import cn.lihongjie.coal.website.entity.WebsiteEntity;
|
||||
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.ManyToOne;
|
||||
import jakarta.persistence.Table;
|
||||
|
||||
import lombok.Data;
|
||||
@@ -28,5 +30,9 @@ public class WebsiteAccountEntity extends OrgCommonEntity {
|
||||
private String password;
|
||||
|
||||
|
||||
@ManyToOne
|
||||
private WebsiteEntity website;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user