using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IStation.Application
{
///
/// 添加对象地图信息
///
public class AddObjectMapInfoInput
{
///
/// 客户标识
///
[Required, Range(1, long.MaxValue, ErrorMessage = "CorpID 必须大于0")]
public long CorpID { get; set; }
///
/// 对象类型
///
[Required, DataValidation(AllowEmptyStrings = false)]
public string ObjectType { get; set; }
///
/// 子类型
///
public string SubType { get; set; }
///
/// 对象标识
///
[Required, Range(1, long.MaxValue, ErrorMessage = "ObjectID 必须大于0")]
public long ObjectID { get; set; }
///
/// 对象名称
///
[Required, DataValidation(AllowEmptyStrings = false)]
public string ObjectName { get; set; }
///
/// 目的
///
[Required, DataValidation(AllowEmptyStrings = false)]
public string Purpose { get; set; }
///
/// 地图种类
///
[Required, DataValidation(AllowEmptyStrings = false)]
public string Kind { get; set; }
///
/// 地图形状
///
[Required, DataValidation(AllowEmptyStrings = false)]
public string Shape { get; set; }
///
/// 地图位置
///
[Required, DataValidation(AllowEmptyStrings = false)]
public string Position { get; set; }
}
}