You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
590 B
27 lines
590 B
using System;
|
|
using Volo.Abp.Domain.Entities;
|
|
using Volo.Abp.MultiTenancy;
|
|
|
|
namespace BaseService.BaseData
|
|
{
|
|
public class UserJob : Entity, IMultiTenant
|
|
{
|
|
public Guid? TenantId { get; set; }
|
|
|
|
public Guid UserId { get; set; }
|
|
|
|
public Guid JobId { get; set; }
|
|
|
|
public override object[] GetKeys()
|
|
{
|
|
return new object[] { UserId, JobId };
|
|
}
|
|
|
|
public UserJob(Guid? tenantId, Guid userId, Guid jobId)
|
|
{
|
|
TenantId = tenantId;
|
|
UserId = userId;
|
|
JobId = jobId;
|
|
}
|
|
}
|
|
}
|
|
|