39 lines
809 B
C#
39 lines
809 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Volo.Abp.Domain.Entities;
|
|
|
|
namespace Syc.Basic.Web.WMS.Entitys
|
|
{
|
|
public class Position : Entity
|
|
{
|
|
public Position()
|
|
{
|
|
Users = new List<User>();
|
|
}
|
|
|
|
[Key]
|
|
public string Code { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
|
|
public bool Status { get; set; }
|
|
|
|
public int Order { get; set; }
|
|
|
|
public DateTime Createtime { get; set; }
|
|
|
|
public virtual List<User> Users { get; set; }
|
|
|
|
public override object[] GetKeys()
|
|
{
|
|
return new object[] { Code };
|
|
}
|
|
}
|
|
}
|