2017-08-24 21:00:52 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace SockScape.DAL {
|
|
|
|
|
class ItemMaster {
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required, MaxLength(64)]
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
[Required, MaxLength(256)]
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required, DefaultValue(false)]
|
|
|
|
|
public bool Stackable { get; set; }
|
|
|
|
|
[Required, DefaultValue(UInt32.MaxValue)]
|
2017-08-25 21:03:33 +00:00
|
|
|
|
public long MaxStack { get; set; }
|
2017-08-24 21:00:52 +00:00
|
|
|
|
[Required, DefaultValue(true)]
|
|
|
|
|
public bool Droppable { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required, MaxLength(64)]
|
|
|
|
|
public string Sheet { get; set; }
|
|
|
|
|
[Required]
|
2017-08-25 21:03:33 +00:00
|
|
|
|
public int Row { get; set; }
|
2017-08-24 21:00:52 +00:00
|
|
|
|
[Required]
|
2017-08-25 21:03:33 +00:00
|
|
|
|
public int Column { get; set; }
|
2017-08-24 21:00:52 +00:00
|
|
|
|
|
|
|
|
|
[MaxLength(64)]
|
|
|
|
|
public string Object { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|