using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace YaKe.Les.Core
{
///
/// AGV站点工位关系表
///
[Table("les_agvsitestation")]
[Comment("AGV站点工位关系表")]
public class LesAgvsiteStation : DEntityBase
{
///
/// AGV站点Id
///
[Comment("AGV站点Id")]
[Required]
[MaxLength(50)]
public long SiteId{ get; set; }
///
/// AGV站点Code
///
[Comment("AGV站点Code")]
[Required]
[MaxLength(50)]
public string SiteCode { get; set; }
///
/// 工位Id
///
[Comment("工位Id")]
[Required]
[MaxLength(50)]
public long StationId { get; set; }
///
/// 工位编码
///
[Comment("工位编码")]
[Required]
[MaxLength(50)]
public string StationCode { get; set; }
///
/// AGV站点表
///
public LesAgvsite LesAgvsite { get; set; }
///
/// 工位表
///
public LesStation LesStation { get; set; }
}
}