mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Major refactor and cleanup.
This commit is contained in:
@@ -25,19 +25,18 @@
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Marechai.Database.Models
|
||||
{
|
||||
public class CompaniesBySoftwareVariant : BaseModel<ulong>
|
||||
{
|
||||
[Required]
|
||||
public virtual Company Company { get; set; }
|
||||
[Required]
|
||||
public virtual SoftwareVariant SoftwareVariant { get; set; }
|
||||
[Required]
|
||||
public virtual DocumentRole Role { get; set; }
|
||||
namespace Marechai.Database.Models;
|
||||
|
||||
public string RoleId { get; set; }
|
||||
public int CompanyId { get; set; }
|
||||
public ulong SoftwareVariantId { get; set; }
|
||||
}
|
||||
public class CompaniesBySoftwareVariant : BaseModel<ulong>
|
||||
{
|
||||
[Required]
|
||||
public virtual Company Company { get; set; }
|
||||
[Required]
|
||||
public virtual SoftwareVariant SoftwareVariant { get; set; }
|
||||
[Required]
|
||||
public virtual DocumentRole Role { get; set; }
|
||||
|
||||
public string RoleId { get; set; }
|
||||
public int CompanyId { get; set; }
|
||||
public ulong SoftwareVariantId { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user