using Microsoft.EntityFrameworkCore;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace iWare.Wms.Core
|
{
|
[Table("ShiftInfo")]
|
[Comment("班组织信息")]
|
public class ShiftInfo : DEntityBase
|
{
|
/// <summary>
|
/// 班次名称
|
/// </summary>
|
[Comment("班次名称")]
|
[Required, MaxLength(50)]
|
public string ShiftName { get; set; }
|
|
/// <summary>
|
/// 班次开始时间
|
/// </summary>
|
[Comment("班次开始时间")]
|
[Required, MaxLength(50)]
|
public string ShiftStartTime { get; set; }
|
|
/// <summary>
|
/// 班次结束时间
|
/// </summary>
|
[Comment("班次结束时间")]
|
[Required, MaxLength(50)]
|
public string ShiftEndTime { get; set; }
|
|
/// <summary>
|
/// 是否隔日
|
/// </summary>
|
[Comment("是否隔日")]
|
[Required]
|
public bool IsNextDay { get; set; }
|
|
/// <summary>
|
/// 班次描述
|
/// </summary>
|
[Comment("班次描述")]
|
[MaxLength(900)]
|
public string ShiftRemark { get; set; }
|
|
}
|
}
|