feat: 增加网站管理接口

This commit is contained in:
2025-01-03 21:16:06 +08:00
parent 886a71f3b7
commit 26e96fad40
4 changed files with 14 additions and 0 deletions

View File

@@ -10,4 +10,6 @@ public class CreateWebsiteAccountDto extends OrgCommonDto {
private String username;
private String password;
private String website;
}

View File

@@ -10,4 +10,7 @@ public class UpdateWebsiteAccountDto extends OrgCommonDto {
private String username;
private String password;
private String website;
}

View File

@@ -16,4 +16,7 @@ public class WebsiteAccountDto extends OrgCommonDto {
private String username;
private String password;
private String website;
}

View File

@@ -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;
}